JP2743930B2 - Camera with automatic focusing device - Google Patents

Camera with automatic focusing device

Info

Publication number
JP2743930B2
JP2743930B2 JP6253843A JP25384394A JP2743930B2 JP 2743930 B2 JP2743930 B2 JP 2743930B2 JP 6253843 A JP6253843 A JP 6253843A JP 25384394 A JP25384394 A JP 25384394A JP 2743930 B2 JP2743930 B2 JP 2743930B2
Authority
JP
Japan
Prior art keywords
tracking
drive
time
focus
lens
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP6253843A
Other languages
Japanese (ja)
Other versions
JPH07218819A (en
Inventor
洋介 日下
勝 村松
健 歌川
省三 山野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nikon Corp
Original Assignee
Nikon Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nikon Corp filed Critical Nikon Corp
Priority to JP6253843A priority Critical patent/JP2743930B2/en
Publication of JPH07218819A publication Critical patent/JPH07218819A/en
Application granted granted Critical
Publication of JP2743930B2 publication Critical patent/JP2743930B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明はカメラ等の自動焦点調節
装置及び自動焦点調節装置を備えたカメラに関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic focusing device such as a camera and a camera provided with the automatic focusing device.

【0002】[0002]

【従来の技術】従来撮影レンズのデフォーカス量を繰り
返し検出するとともに現在及び過去のデフォーカス量か
ら被写体が移動しているか否かを判定し、被写体が移動
している場合には、現在及び過去のデフォーカス量に基
づいて移動被写体に対して撮影レンズの位置を補正する
ための補正量を求め、更に撮影レンズの駆動量を前記デ
フォーカス量に補正量を加えた量に基づいて求めて撮影
レンズを駆動することにより、移動被写体に対して撮影
レンズを遅れなく駆動する技術いわゆる追尾又は追従駆
動といわれる技術が知られている。例えば本出願人によ
る特開昭60−214325において上記技術が開示さ
れている。
2. Description of the Related Art Conventionally, the amount of defocus of a photographing lens is repeatedly detected, and it is determined whether or not the subject is moving based on the current and past defocus amounts. The amount of correction for correcting the position of the photographing lens with respect to the moving subject is determined based on the amount of defocus, and the amount of drive of the photographing lens is further determined based on the amount obtained by adding the amount of correction to the defocus amount. 2. Description of the Related Art There is known a technique for driving a photographing lens without delay with respect to a moving subject by driving a lens, a technique called so-called tracking or following drive. For example, the above technique is disclosed in Japanese Patent Application Laid-Open No. 60-214325 by the present applicant.

【0003】[0003]

【発明が解決しようとする問題点】 レンズ駆動量の大小に応じてレンズ駆動時間の変動が
大きく、結果的に焦点検出の時間間隔が大きくばらつい
てしまった。このように焦点検出の時間が大きいと、そ
れに応じて時系列的に発生する焦点検出信号に基づく被
写体移動の有無の判定や移動被写体を追尾するためのレ
ンズ駆動量の算出の精度が悪化してしまう。 自動焦点調節装置により移動被写体を追尾する追尾駆
動が行われる場合には、追尾駆動動作と無関係に撮影動
作を行うとピントボケの多い写真となってしまう。 連続撮影を行うカメラでは、その連続撮影の速度と追
尾駆動の精度との両立が難しい。
Problems to be Solved by the Invention The lens driving time greatly fluctuates according to the magnitude of the lens driving amount, and as a result, the time intervals of focus detection vary widely. When the focus detection time is long as described above, the accuracy of determining whether or not the subject has moved based on the focus detection signals generated in time series in accordance with the time and calculating the lens drive amount for tracking the moving subject deteriorates. I will. When a tracking drive for tracking a moving subject is performed by the automatic focus adjustment device, performing a shooting operation irrespective of the tracking drive operation results in a photograph with much out-of-focus. In a camera that performs continuous shooting, it is difficult to achieve both the speed of continuous shooting and the accuracy of tracking drive.

【0004】請求項1の発明では、主光学系により形成
された被写体像の焦点調節状態を繰り返し検出し、検出
された焦点調節状態に応じて焦点検出信号を時系列的に
発生する焦点検出手段と、前記時系列的に発生する複数
の焦点検出信号に基づき被写体の移動に伴う被写体像面
の時間変化に関する移動情報を検出する移動情報検出手
段と、前記移動情報に基づき、移動被写体の移動を追尾
するための駆動制御量を算出する駆動制御量算出手段
と、前記駆動制御量に基づき、前記主光学系を駆動する
駆動手段と、レリーズ操作部材の第一操作により前記焦
点検出手段、前記移動情報検出手段、前記駆動制御量算
出手段及び前記駆動手段を繰り返し作動させ、前記レリ
ーズ操作部材の第一操作に引続く第二操作により前記被
写体像を撮影する撮影手段と、前記駆動手段の駆動時間
を所定時間に制限する駆動時間制限手段を設けた構成と
した。
According to the first aspect of the present invention, a focus detecting means for repeatedly detecting a focus adjustment state of a subject image formed by a main optical system and generating a focus detection signal in a time series according to the detected focus adjustment state. Moving information detecting means for detecting, based on the plurality of focus detection signals generated in time series, moving information relating to a time change of a subject image plane accompanying the movement of the subject; and moving the moving subject based on the moving information. A drive control amount calculating means for calculating a drive control amount for tracking; a drive means for driving the main optical system based on the drive control amount; and the focus detecting means by the first operation of a release operation member; The information detecting means, the drive control amount calculating means, and the driving means are repeatedly operated to capture the subject image by a second operation following the first operation of the release operation member. And means, and configured to drive time of the drive means providing the drive time limiting means for limiting to a predetermined time.

【0005】また、請求項3の発明では、主光学系によ
り形成された被写体像の焦点調節状態を繰り返し検出
し、検出された焦点調節状態に応じて焦点検出信号を時
系列的に発生する焦点検出手段と、前記時系列的に発生
する複数の焦点検出信号に基づき被写体の移動に伴う被
写体像面の時間変化に関する移動情報を検出する移動情
報検出手段と、前記移動情報に基づき、移動被写体の移
動を追尾するための駆動制御量を算出する駆動制御量算
出手段と、前記駆動制御量に基づき、前記主光学系を駆
動する駆動手段と、前記主光学系により形成された被写
体像を連続的に撮影する撮影手段と、前記撮影手段によ
る連続撮影の間に、前記焦点検出手段による検出動作と
前記駆動手段による駆動動作とが所定回数行われるよう
に、前記焦点調節手段及び前記駆動量制御手段及び前記
駆動手段及び前記撮影手段を制御する制御手段とを備え
た構成とした。
According to a third aspect of the present invention, a focus for repeatedly detecting a focus adjustment state of a subject image formed by a main optical system and generating a focus detection signal in a time series according to the detected focus adjustment state. Detecting means, moving information detecting means for detecting moving information relating to a time change of a subject image plane accompanying movement of the subject based on the plurality of focus detection signals generated in time series, and, based on the moving information, A drive control amount calculating means for calculating a drive control amount for tracking movement, a drive means for driving the main optical system based on the drive control amount, and a subject image formed by the main optical system. The focus adjusting means so that the detection operation by the focus detection unit and the driving operation by the driving unit are performed a predetermined number of times during continuous imaging by the imaging unit. And it has a configuration in which a control means for controlling the drive amount control means and said drive means and said photographing means.

【0006】[0006]

【作用】請求項1の発明によれば、連続撮影動作の駒間
において、追尾駆動を行う主光学系の駆動時間を所定時
間に制限する構成としたので、主光学系の駆動量によら
ずサイクルタイム(連続撮影の撮影サイクル)を一定に
でき、焦点検出演算される焦点検出信号がこのサイクル
の周期で繰り返し演算されるため、被写体移動の検出
や、追尾駆動の制御量の演算が容易にかつ正確に行え
る。その結果、連続撮影にも拘わらず、移動被写体の追
尾を高精度にでき、ピントのあったタイミングで露光で
きる。
According to the first aspect of the present invention, the driving time of the main optical system for performing the tracking drive is limited to a predetermined time between frames of the continuous photographing operation. The cycle time (shooting cycle of continuous shooting) can be made constant, and the focus detection signal calculated for focus detection is repeatedly calculated in the cycle. This makes it easy to detect the movement of the subject and calculate the control amount of the tracking drive. And can be performed accurately. As a result, despite the continuous shooting, the tracking of the moving subject can be performed with high accuracy, and the exposure can be performed at the focused timing.

【0007】請求項3の発明によれば、連続撮影時の撮
影動作の間に必ず所定回の焦点調節動作が行われるの
で、高速連写性の機能低下を最低限に抑えると共に、焦
点検出サイクルが一定となり、高精度の追尾駆動が可能
となり、ピント精度の高い撮影が期待できる。
According to the third aspect of the present invention, a predetermined number of focus adjustment operations are always performed during a shooting operation during continuous shooting, so that a reduction in the function of high-speed continuous shooting is minimized and a focus detection cycle is performed. Becomes constant, high-precision tracking drive becomes possible, and high-precision imaging can be expected.

【0008】[0008]

【実施例】【Example】

(第1実施例)図1は本発明をレンズ交換型一眼レフカ
メラに適用した実施例を示すもので、カメラボディ20
に対して交換可能なレンズ10が着脱自在にマウントし
得るようになされている。レンズ20を装着した状態に
おいて、被写体から到来する撮影光束は撮影レンズ11
を通ってカメラボディ20に設けられているメインミラ
ー21によって一部は反射されて不図示のファインダに
導かれる。これと同時に撮影光束の他の一部がメインミ
ラー21を透過してサブミラー22によって反射される
ことにより、焦点検出用光束としてオートフォーカスモ
ジュール23(以後AFモジュールという)に導かれ
る。AFモジュール23の構成例を図2に示す。図2に
おいてAFモジュールはフィールドレンズ27及び一対
の再結像レンズ28A、28Bからなる焦点検出光学系
24と一対の受光部29A、29Bを有するCCD(チ
ャージカップルドデバイス)25とから構成されてい
る。
(First Embodiment) FIG. 1 shows an embodiment in which the present invention is applied to an interchangeable lens type single-lens reflex camera.
The interchangeable lens 10 can be mounted detachably. In a state where the lens 20 is mounted, the photographic light beam coming from the subject
The light is partially reflected by a main mirror 21 provided on the camera body 20 through the camera body 20 and guided to a finder (not shown). At the same time, another part of the photographing light beam is transmitted through the main mirror 21 and reflected by the sub-mirror 22, thereby being guided to the autofocus module 23 (hereinafter, referred to as an AF module) as a light beam for focus detection. FIG. 2 shows a configuration example of the AF module 23. In FIG. 2, the AF module includes a focus detection optical system 24 including a field lens 27 and a pair of re-imaging lenses 28A and 28B and a CCD (charge coupled device) 25 having a pair of light receiving units 29A and 29B. .

【0009】以上のような構成において撮影レンズ11
の射出瞳16に含まれる光軸17に対して対称な一対の
領域18A、18Bを通る光束はフィールドレンズ27
付近で一次像を形成し更にフィールドレンズ27及び再
結像撮影レンズ28A、28BによってCCD25の一
対の受光部上に一対の二次像を形成する。前記一次像が
不図示のフィルム共役面と一致している時CCD25上
で一対の二次像の受光部並び方向の相対的位置は焦点検
出光学系の構成によって決まる所定値となる。又一対の
受光部29A、29Bは、各々nケの受光素子ai、b
i(i=1〜n)から成り一次像がフィルム共役面と一
致している時に対応する受光素子(a1とb1 、a2
2 …)の出力が等しくなるように配置されている。前
記一次像がフィルム共役面からずれた面に形成されてい
る場合にはCCD25上での一対の二次像の相対的位置
は一次像の光軸方向のずれ方向(即わち前ピンか後ピン
か)に応じて前記一致している場合の所定値から変化す
る。例えば前ピンの場合には、一対の二次像の位置関係
は相対的に広がり後ピンの場合には狭まる。受光部29
A、29Bを形成する受光素子ai、biはフォートダ
イオード等の電荷蓄積型素子によって構成されており、
CCD25上の照度に応じた電荷蓄積時間だけ電荷蓄積
を行なうことにより受光素子出力を後述の処理に適す
る、出力レベルとすることができる。
In the above configuration, the photographing lens 11
A light beam passing through a pair of regions 18A and 18B symmetric with respect to the optical axis 17 included in the exit pupil 16 of the
A primary image is formed in the vicinity, and a pair of secondary images is formed on a pair of light receiving portions of the CCD 25 by the field lens 27 and the re-imaging photographing lenses 28A and 28B. When the primary image coincides with a film conjugate plane (not shown), the relative position of the pair of secondary images in the direction in which the light receiving sections are arranged on the CCD 25 has a predetermined value determined by the configuration of the focus detection optical system. The pair of light receiving units 29A and 29B are respectively n light receiving elements ai and b.
i (i = 1 to n) and arranged so that the outputs of the corresponding light receiving elements (a 1 and b 1 , a 2 and b 2 ...) when the primary image coincides with the film conjugate plane are equal. I have. When the primary image is formed on a plane shifted from the film conjugate plane, the relative position of the pair of secondary images on the CCD 25 is determined by the shift direction of the primary image in the optical axis direction (that is, the front focus or the rear focus). The value is changed from the predetermined value in the case of the coincidence. For example, in the case of the front focus, the positional relationship between the pair of secondary images is relatively widened, and in the case of the rear focus, it is narrowed. Light receiving unit 29
The light receiving elements ai and bi forming A and 29B are constituted by charge storage elements such as fort diodes,
By performing the charge accumulation for the charge accumulation time corresponding to the illuminance on the CCD 25, the output of the light receiving element can be set to an output level suitable for processing described later.

【0010】再び図1に戻り説明を続ける。センサー制
御手段26はAFCPU30のポートP4からの電荷蓄
積開始及び終了指令を受け取り指令に応じた制御信号を
CCD25に与えることによりCCD25の電荷蓄積開
始及び終了を制御するとともに転送クロック信号をCC
D25に与え受光素子出力信号を時系列的にAFCPU
に転送する。又受光素子出力信号の発生、同期信号をA
FCPU30のポートP4に送り、AFCPU30は前
記発生同期信号に同期して内蔵のAD変換手段によりA
D変換をスタートさせ以後前記転送クロックのサイクル
タイム毎に受光素子出力をポートP3にてサンプリング
AD変換して受光素子数に応じたAD変換データ(2n
ケ)を得た後、該データに基づき後述する公知の焦点検
出演算を行ない第1像とフィルム共役面とのデフォーカ
ス量を求める。AFCPU30は焦点検出演算結果に基
づいてAF表示手段40の表示形態をポートP5を用い
て制御する。例えば前ピンの場合は三角表示部41、後
ピンの場合は三角表示部43、合焦の場合は丸表示部4
2、焦点検出不能の場合はバツ表示部44が各々アクテ
ィブになるようにAFCPU30は制御する。又AFC
PU30は焦点検出演算結果に基づいてAFモータ50
の駆動方向及び駆動量を制御して、撮影レンズ11を合
焦点に移動させる。まずAFCPU30はデフォーカス
量の符号(前ピン、後ピン)に従ってポートP2からA
Fモータ50を撮影レンズ11が合焦点に近づく方向へ
回転させる駆動信号を発生する。AFモータの回転運動
はボディ20に内蔵されたギヤ等から構成されたボディ
伝達系51を経てボディ20とレンズ10のマウント部
に設けられたボディ側のカップリング53に伝達され
る。
Returning to FIG. 1, the description will be continued. The sensor control means 26 receives the charge accumulation start and end commands from the port P4 of the AFCPU 30 and controls the charge accumulation start and end of the CCD 25 by supplying a control signal corresponding to the command to the CCD 25, and also outputs the transfer clock signal to the CC
D25 to the light receiving element output signal
Transfer to In addition, generation of a light receiving element output signal and synchronization signal
The signal is sent to the port P4 of the FCPU 30, and the AF CPU 30 synchronizes with the generated synchronizing signal by the built-in AD conversion means.
After the D conversion is started, the output of the light receiving element is sampled and A / D converted at the port P3 every cycle time of the transfer clock, and the A / D conversion data (2n) corresponding to the number of the light receiving elements is obtained.
G), a well-known focus detection calculation described later is performed based on the data to obtain a defocus amount between the first image and the film conjugate plane. The AF CPU 30 controls the display mode of the AF display means 40 using the port P5 based on the focus detection calculation result. For example, in the case of a front focus, a triangle display unit 41, in the case of a rear focus, a triangle display unit 43, and in the case of focus, a circle display unit 4
2. If the focus cannot be detected, the AF CPU 30 controls the cross display unit 44 to be activated. AFC
The PU 30 controls the AF motor 50 based on the focus detection calculation result.
The driving direction and the driving amount are controlled to move the photographing lens 11 to the focal point. First, the AF CPU 30 changes the port P2 to A according to the sign of the defocus amount (front focus, rear focus).
A drive signal for rotating the F motor 50 in a direction in which the taking lens 11 approaches the focal point is generated. The rotational motion of the AF motor is transmitted to a body-side coupling 53 provided on a mount portion of the body 20 and the lens 10 via a body transmission system 51 including a gear and the like built in the body 20.

【0011】ボディ側のカップリング53に伝達された
回転運動は更にこれにかん合するレンズ側のカップリン
グ14及びレンズ10に内蔵されたギヤ等から構成され
たレンズ伝達系12に伝達され最終的に撮影レンズ11
が合焦方向へと移動する。又AFモータ50の駆動量は
前記ボディ伝達系51のギヤ等の回転量をフォトインタ
ラプタ等によって構成されるエンコーダ52によってパ
ルス数に変換されポートP1からAFCPU30にフィ
ードバックされる。AFCPU30はボディ伝達系51
及びレンズ伝達系12の減速比等のパラメータに応じて
AFモータ50の駆動量即ちエンコーダ52からフィー
ドバックされるパルス数を制御することにより撮影レン
ズ11を所定移動量だけ移動することができる。AFC
PU30はポートP1より入力するパルス数をカウント
するためのパルスカウンタと、該パルスカウンタの内容
と比較するための比較レジスタを内蔵しており、該パル
スカウンタと比較レジスタの内容が一致した時に内部割
込がかかる機能を有している。
The rotational motion transmitted to the coupling 53 on the body side is further transmitted to the lens transmission system 12 composed of a coupling 14 on the lens side and a gear built in the lens 10 to be fitted thereto. Shooting lens 11
Moves in the focusing direction. The amount of driving of the AF motor 50 is converted into the number of pulses by an encoder 52 constituted by a photo interrupter or the like, and the amount of rotation of the gear or the like of the body transmission system 51 is fed back to the AF CPU 30 from the port P1. The AFCPU 30 has a body transmission system 51
By controlling the driving amount of the AF motor 50, that is, the number of pulses fed back from the encoder 52, according to parameters such as the reduction ratio of the lens transmission system 12, the photographing lens 11 can be moved by a predetermined moving amount. AFC
The PU 30 has a built-in pulse counter for counting the number of pulses input from the port P1 and a comparison register for comparing the contents of the pulse counter with the pulse counter. It has a function that includes

【0012】AFCPU30は以下のような順序でAF
モータ50の駆動量を制御する。まずAFモータ50の
駆動開始前にパルスカウンタの内容をクリアし比較レジ
スタに所望のパルス数をセットする。次にAFモータ5
0の駆動を開始する。AFモータ50の回転によりエン
コーダ52がパルスを発生してパルスカウンタにカウン
トアップされる。パルスカウンタの内容が比較レジスタ
と一致した時に割込がかかりAFCPUは割込処理でA
Fモータを停止させる。このようにしてAFモータは所
望のパルス数だけ駆動制御される。又AFCPU30は
時間を計測するためのタイマーを内蔵しており一定時間
毎に割込がかかるタイマー割込機能も有している。AF
CPU30は以上のように主としてAF動作を制御する
機能を受け持っている。
The AF CPU 30 executes the AF in the following order.
The driving amount of the motor 50 is controlled. First, before the driving of the AF motor 50 is started, the contents of the pulse counter are cleared and the desired number of pulses is set in the comparison register. Next, the AF motor 5
0 is started. The rotation of the AF motor 50 causes the encoder 52 to generate a pulse and count up to a pulse counter. When the content of the pulse counter matches the comparison register, an interrupt occurs and the AF CPU executes A
Stop the F motor. In this way, the AF motor is driven and controlled by a desired number of pulses. The AFCPU 30 has a built-in timer for measuring time, and also has a timer interrupt function for interrupting at regular intervals. AF
As described above, the CPU 30 mainly has a function of controlling the AF operation.

【0013】ボディ20の内部には又カメラシーケンス
露出動作(AE)を主として制御するためのメインCP
U70がある。メインCPU70は被写体輝度、フィル
ム感度、絞り値、シャッター速度等の露出に関する情報
をAE情報手段85よりポートQ12から入力し、該A
E情報に基づき絞り値、シャッタ速度等を決定する。メ
インCPU70は決定した絞り値、シャッタ速度等の情
報を、ポートQ13を通じて表示手段86に表示すると
ともに、撮影動作における絞り値、シャッタ速度とす
る。メインCPU70は撮影動作においてはポートQ8
からミラー制御手段81によるメインミラー21のアッ
プ、ダウン動作の制御を行なう。又ポートQ10を通じ
て絞り制御手段83を制御して不図示のレンズ10内の
絞り機構の制御を行なう。又ポートQ9により、シャッ
タ制御手段82を動作させ不図示のシャッタ機構を制御
する。メインCPU70は撮影動作が終了すると次の撮
影動作に備えて、Q11を通じて巻上チャージ制御手段
84を制御して不図示の巻上チャージ機構を動作させ
る。以上がメインCPU70の動作の概要である。
A main CP for mainly controlling a camera sequence exposure operation (AE) is provided inside the body 20.
There is U70. The main CPU 70 inputs information on exposure such as subject brightness, film sensitivity, aperture value, shutter speed and the like from the AE information means 85 from the port Q12,
An aperture value, a shutter speed, and the like are determined based on the E information. The main CPU 70 displays information such as the determined aperture value and shutter speed on the display unit 86 through the port Q13, and sets the information as the aperture value and shutter speed in the shooting operation. The main CPU 70 controls the port Q8 in the photographing operation.
The mirror control means 81 controls the up and down operations of the main mirror 21. Further, the control unit controls the diaphragm control means 83 through the port Q10 to control the diaphragm mechanism in the lens 10 (not shown). The port Q9 operates the shutter control means 82 to control a shutter mechanism (not shown). Upon completion of the photographing operation, the main CPU 70 controls the hoisting charge control means 84 through Q11 to operate a hoisting charging mechanism (not shown) in preparation for the next photographing operation. The above is the outline of the operation of the main CPU 70.

【0014】レンズ10にはレンズCPU13が内蔵さ
れており、レンズCPU13はメインCPU70に必要
な例えば開放F値等のAE関連情報、AFCPU30に
必要な例えば撮影レンズ11の単位移動量当りのカップ
リング14の回転数等のAF関連情報を、マウント部を
設けたレンズ側接点15ボディ側接点63を介してボデ
ィ側の通信バス64に送る。AFCPU30はレンズC
PU13からのAF関連情報を通信バス64につながっ
たポートP6より受け取る。又メインCPU70はレン
ズCPU13からのAF関連情報を通信バス64につな
がったポートQ1より受け取る。又メインCPU70と
AFCPU30は通信バス64を介して各々ポートQ1
及びP6より種々の情報をお互いに入出力することが可
能である。又メインCPU70とAFCPU30の間に
は前記通信バス64以外の直結の入出力信号(IO信
号)ラインもある。
The lens 10 has a lens CPU 13 built therein. The lens CPU 13 includes AE-related information such as an open F value required for the main CPU 70 and a coupling 14 per unit movement amount of the photographing lens 11 required for the AF CPU 30. The AF-related information such as the number of rotations is transmitted to the body-side communication bus 64 via the lens-side contact 15 provided with the mount unit and the body-side contact 63. AFCPU 30 is lens C
The AF-related information from the PU 13 is received from the port P6 connected to the communication bus 64. Further, the main CPU 70 receives the AF-related information from the lens CPU 13 from the port Q1 connected to the communication bus 64. The main CPU 70 and the AF CPU 30 are connected to the port Q1 via the communication bus 64, respectively.
And P6, it is possible to input / output various information to / from each other. There are also directly connected input / output signal (IO signal) lines other than the communication bus 64 between the main CPU 70 and the AF CPU 30.

【0015】AFはAF許可信号でありメインCPU7
0のポートQ2よりAFCPU30のポートP7に送ら
れる。AF許可信号(AF)は、オン(以後ON)の時
AFCPU30によるAFモータ50の駆動を許可し、
OFFの時駆動を禁止する。AF許可信号(AF)は、
メインCPU70の巻上チャージ制御と、AFCPU3
0のAFモータ駆動とが同時に行われて、不図示の電池
等の電源の電力供給能力を越えて不具合が生ずるのを防
ぐ目的に使用される。即ちメインCPU30は巻上チャ
ージ動作を行っている間はAF許可信号をオフ(以降O
FF)としてAFCPU30のAFモータ50の駆動を
禁止して、巻上チャージ動作とAFモータ駆動が同時に
行われることを防止する。
AF is an AF permission signal, and the main CPU 7
The data is sent from the port Q2 of 0 to the port P7 of the AFCPU 30. When the AF permission signal (AF) is ON (hereinafter, ON), the AF CPU 30 permits the AF motor 50 to be driven,
Driving is prohibited when it is OFF. The AF permission signal (AF)
Hoisting charge control of main CPU 70 and AFCPU 3
The AF motor drive of 0 is performed at the same time, and is used for the purpose of preventing a trouble from exceeding the power supply capability of a power supply such as a battery (not shown). That is, the main CPU 30 turns off the AF permission signal (hereinafter referred to as O) during the winding charging operation.
As FF), the driving of the AF motor 50 of the AF CPU 30 is prohibited to prevent the winding charging operation and the AF motor driving from being performed at the same time.

【0016】MRはミラーアップ信号であり、メインC
PU70のポートQ3よりAFCPU30のポートP8
に送られる。ミラーアップ信号(MR)はONの時ミラ
ーアップ中及びアップとダウンの遷移中を表わしOFF
の時ミラーダウン中を表わす。ミラーアップ信号(M
R)は、AFCPU30のCCD蓄積開始ミラーアップ
後の駆動ディレイ開始のタイミング調整に用いられる。
RLはレリーズ許可信号であり、AFCPU30のポー
トP9よりメインCPU70のポートQ4に送られる。
レリーズ許可信号(RL)はONの時メインCPU70
による撮影動作を許可し、OFFの時禁止する。レリー
ズ許可信号(RL)は、後述するAFCPU30のAF
追尾動作制御とメインCPU70の撮影動作制御とのタ
イミング調整や、ワンショットAFモード時に合焦前は
撮影動作を禁止するのに使用される。
MR is a mirror up signal.
From port Q3 of PU70 to port P8 of AFCPU30
Sent to When the mirror up signal (MR) is ON, it indicates that the mirror is up and the transition between up and down is OFF.
Indicates that the mirror is down. Mirror up signal (M
R) is used for adjusting the timing of the drive delay start after the CCD accumulation start mirror of the AFCPU 30 is raised.
RL is a release permission signal, which is sent from the port P9 of the AFCPU 30 to the port Q4 of the main CPU 70.
When the release permission signal (RL) is ON, the main CPU 70
Is permitted, and prohibited when OFF. The release permission signal (RL) is transmitted to the AF
It is used to adjust the timing between the tracking operation control and the photographing operation control of the main CPU 70, and to prohibit the photographing operation before focusing in the one-shot AF mode.

【0017】RBはレリーズボタン信号であり、ボディ
20に設けられた外部操作部材であるレリーズボタン6
0の操作状態情報をAFCPU30のポートP10及び
メインCPU70のポートQ5に送る。レリーズボタン
信号(RB)はONの時レリーズボタンの全押し、OF
Fの時非全押しを表わす。レリーズボタン信号(RB)
はメインCPU70の撮影動作制御の起動や後述するA
FCPU30の追尾動作制御に用いられる。
RB is a release button signal, which is a release button 6 which is an external operation member provided on the body 20.
The operation state information of 0 is sent to the port P10 of the AF CPU 30 and the port Q5 of the main CPU 70. When the release button signal (RB) is ON, fully press the release button, OF
F indicates non-full press. Release button signal (RB)
Indicates activation of the photographing operation control of the main CPU 70 and A
Used for controlling the tracking operation of the FCPU 30.

【0018】DMは駒速モード信号であり、ボディ20
に設けられた外部部材である駒速モード選択手段61の
駒速モード選択状態の情報をAFCPU30のポートP
11及びメインCPU70のポートQ6に送る。駒速モ
ード信号(DM)の表わす駒速モードはC1、C2、S
の3種類であり、C1は駒速優先の高速連続撮影モード
でありレリーズボタン60が全押の間は撮影動作が終了
すると即次の撮影動作に移るモードであり、撮影動作と
撮影動作の間にAF動作はほとんど行なわれない。又C
2はレリーズボタン60が全押の間撮影動作と次の撮影
動作の間にAF動作が少くとも1回は入る通常連続撮影
モードで駒速モードC1よりは駒速は遅くなる。又Sは
シングル撮影モードであり、レリーズボタン60が全押
されると一回だけ撮影動作が行なわれる。
DM is a frame speed mode signal.
The information of the frame speed mode selection state of the frame speed mode selection means 61 which is an external member provided at
11 and port Q6 of the main CPU 70. The frame speed mode indicated by the frame speed mode signal (DM) is C1, C2, S
C1 is a high-speed continuous shooting mode in which the frame speed is prioritized, and while the release button 60 is fully pressed, the shooting operation is immediately shifted to the next shooting operation while the release button 60 is fully pressed. AF operation is hardly performed. And C
Reference numeral 2 denotes a normal continuous shooting mode in which the AF operation is performed at least once between the shooting operation and the next shooting operation while the release button 60 is fully pressed, and the frame speed is slower than the frame speed mode C1. S is a single photographing mode, and the photographing operation is performed only once when the release button 60 is fully pressed.

【0019】FMはフォーカスモード信号でありボディ
20に設けられた外部操作部材であるフォーカスモード
選択手段62のフォーカスモード選択状態の情報をAF
CPU30のポートP12及びメインCPU70のポー
トQ7に送る。フォーカスモード信号(FM)の表わす
フォーカスモードはC、O、Mの3種類であり、Cは連
続AFモードであり常に検出したデフォーカス量に基づ
いて撮影レンズ11を合焦点へとサーボするモードであ
る。又Oはワンショットモードであり一旦撮影レンズ1
1の合焦点へ到達するとそれ以後撮影レンズ11のサー
ボを行なわないモードである。又Mはマニュアルモード
であり、撮影レンズ11のサーボは行なわず表示手段4
0のみで焦点検出結果を表示するモードである。表1に
以上説明したIO信号をまとめて示す。
Reference numeral FM denotes a focus mode signal, which is used to output information of a focus mode selection state of a focus mode selection means 62 which is an external operation member provided on the body 20 to the AF mode.
It is sent to the port P12 of the CPU 30 and the port Q7 of the main CPU 70. There are three types of focus modes represented by the focus mode signal (FM): C, O, and M. C is a continuous AF mode in which the photographing lens 11 is servoed to a focused point based on the always detected defocus amount. is there. O is a one-shot mode in which the photographing lens 1
This mode is a mode in which the servo of the photographing lens 11 is not performed after reaching the focal point of 1. M is a manual mode, in which the servo of the taking lens 11 is not performed and the display means 4
This is a mode in which the focus detection result is displayed only with 0. Table 1 summarizes the IO signals described above.

【0020】次にAFCPU30とメインCPU70の
動作と駒速モードとフォーカスモードの組み合わせとの
関係について説明する。フォーカスモードがマニュアル
(M)の場合、AFCPU30はAFモータ50を駆動
しないのでAF許可信号(AF)はAFCPU30にと
って不要になる。又AFCPU30はメインCPU70
のミラーアップ信号(MR)がOFFとなっていること
を検知してからCCDの蓄積を開始する。メインCPU
70はAFCPU30のレリーズ許可信号(RL)にか
かわらず、全押しとなっている時に駒速モードに従って
撮影動作をする。フォーカスモードがワンショットAF
(O)の場合、AFCPU30はAF許可信号(AF)
がONの時だけAFモータ50を駆動すると同時にミラ
ーアップ信号(MR)がOFFとなっていることを検知
してからCCDの蓄積を開始し、一旦撮影レンズ11が
合焦点に達したら以後表示及び駆動を固定する。又メイ
ンCPU70はAFCPU30のレリーズ許可信号(R
L)がONでレリーズボタン信号(RB)とONとなっ
ている時に撮影動作を開始できる。従ってフォーカスモ
ードがワンショットAFの場合駒速モードC1とC2は
実効的にほとんど同じ動作となる。
Next, the relationship between the operations of the AF CPU 30 and the main CPU 70 and the combination of the frame speed mode and the focus mode will be described. When the focus mode is manual (M), the AF CPU 30 does not drive the AF motor 50, so that the AF permission signal (AF) becomes unnecessary for the AF CPU 30. The AF CPU 30 is a main CPU 70
After detecting that the mirror-up signal (MR) is OFF, the accumulation of the CCD is started. Main CPU
70 performs a shooting operation in accordance with the frame speed mode when the shutter button is fully pressed, regardless of the release permission signal (RL) of the AFCPU 30. Focus mode is one-shot AF
In the case of (O), the AF CPU 30 outputs the AF permission signal (AF)
Only when is ON, the AF motor 50 is driven, and at the same time, it is detected that the mirror-up signal (MR) is OFF, and then the accumulation of the CCD is started. Fix the drive. Further, the main CPU 70 issues a release permission signal (R
The shooting operation can be started when L) is ON and the release button signal (RB) is ON. Therefore, when the focus mode is the one-shot AF, the frame speed modes C1 and C2 effectively perform almost the same operation.

【0021】フォーカスモードが連続AF(C)で駒速
モードがC1又はSの場合AFCPU30はAF許可信
号(AF)がONの時だけAFモータ50を駆動すると
同時にミラーアップ信号(MR)がOFFとなっている
ことを検知してCCDの蓄積を開始する。この場合撮影
レンズ11が合焦点に到達した後も表示駆動は更新され
る。又この場合メインCPU70はレリーズ許可信号
(RL)にかかわらずレリーズボタン信号(RB)が全
押しとなっている時に駒速モードC1又はSに従って撮
影動作を行なう。従ってフォーカスモードがCで駒速モ
ードがC1の場合、メインCPU70は撮影動作の間に
余裕時間を設けないのでAFCPU30がAFモード5
0を駆動できる時間は巻上チャージ完了から次の巻上チ
ャージ開始までの短かい時間となる。
When the focus mode is continuous AF (C) and the frame speed mode is C1 or S, the AF CPU 30 drives the AF motor 50 only when the AF permission signal (AF) is ON, and simultaneously turns off the mirror up signal (MR). , The accumulation of the CCD is started. In this case, the display drive is updated even after the photographing lens 11 reaches the focal point. In this case, the main CPU 70 performs the photographing operation according to the frame speed mode C1 or S when the release button signal (RB) is fully pressed regardless of the release permission signal (RL). Therefore, when the focus mode is C and the frame speed mode is C1, the main CPU 70 does not provide a margin time during the photographing operation, and the AF CPU 30
The time during which 0 can be driven is a short time from the completion of the winding charge to the start of the next winding charge.

【0022】フォーカスモードがCで駒速モードがC2
の組み合わせは、後述する動的被写体に最適化した追尾
動作のための特別なモード(追尾モード)であり、AF
CPU30はAF許可信号(AF)がONの時だけAF
モータ50を駆動できミラーアップ信号(MR)がOF
Fとなっていることを検知してCCDの蓄積を開始する
点は前述のモード選択時と同じである。AFモータ50
の駆動量を求める際に後述の追尾アルゴリズムを用い、
動的被写体と判定された場合、AFモータ50の駆動量
をデフォーカス量と追尾補正量の和としてAFモータ5
0を駆動すると同時にAF表示形態も変える。AFCP
U30は追尾モードの場合レリーズボタン信号(RB)
が全押しの時AFモータ50の一回の駆動時間を所定時
間に制限するとともに駆動開始から、所定時間後にレリ
ーズ許可信号(RL)をONとして、AF動作と撮影動
作のタイミングを調整する。メインCPU70は追尾モ
ードの場合(フォーカスモードがCで駒速モードがC
2)、レリーズ許可信号(RL)がONでレリーズボタ
ン信号(RB)がONとなっている時に撮影動作を開始
する。
When the focus mode is C and the frame speed mode is C2
Is a special mode (tracking mode) for a tracking operation optimized for a dynamic subject to be described later.
The CPU 30 performs the AF only when the AF permission signal (AF) is ON.
The motor 50 can be driven and the mirror up signal (MR) is OF
The point at which the accumulation of the CCD is started upon detecting that it has become F is the same as in the above-described mode selection. AF motor 50
Use the tracking algorithm described below when calculating the drive amount of
When it is determined that the subject is a dynamic subject, the driving amount of the AF motor 50 is determined as the sum of the defocus amount and the tracking correction amount.
When 0 is driven, the AF display mode is also changed. AFCP
U30 is the release button signal (RB) in the tracking mode
When the button is fully pressed, the drive time of one time of the AF motor 50 is limited to a predetermined time, and a release permission signal (RL) is turned ON after a predetermined time from the start of driving to adjust the timing of the AF operation and the photographing operation. When the main CPU 70 is in the tracking mode (the focus mode is C and the frame speed mode is C
2) The photographing operation is started when the release permission signal (RL) is ON and the release button signal (RB) is ON.

【0023】表2に駒速モードとフォーカスモードの組
み合わせと追尾動作の関係についてまとめる。表2より
動的被写体に対して通常のデフォーカス量に追尾補正量
を加えてAFモータ50の駆動量を決定する追尾モード
は、フォーカスモードがCで駒速モードがC2の時のみ
選択されることになる。図3及び図4を用いて追尾モー
ドにおけるAFCPU30とメインCPU70の動作に
ついて、より詳しく説明する。図3は追尾モードにおけ
るレリーズボタン全押時の被写体及び撮影レンズの動き
とAFCPU30、メインCPU70の動作の関係を示
す図であって、縦軸はレンズ位置Z、横軸は時刻tであ
る。実線L1は被写体が連続的に移動している時被写体
像を常にフィルム面に結像させるために必要な撮影レン
ズ11の理想的な位置の軌跡である。又一点鎖線L2
は、実際の撮影レンズ11が動いた軌跡である。メイン
CPUがミラーダウン動作を終了した時刻t0において
撮影レンズ11は停止しておりレンズ位置はZ0であ
る。AFCPUは時刻t0よりCCDの蓄積を開始し時
刻t7に蓄積を終了する。AFCPUは時刻t7よりC
CDデータのAD変換及び焦点検出演算を始める。追尾
モードにおいては後述のように追尾アルゴリズムで動的
被写体と判定されると、静的な被写体として焦点検出演
算により求めたデフォーカス量に追尾補正量を加えた量
に応じて撮影レンズを駆動するがここでは時刻t0と時
刻t7の中点である時刻t10における、実線L1と一
点鎖線L2の差(ΔZ2=Z2−Z0)に相当するデフ
ォーカス量と、追尾補正量(前回の)を加えたもの(追
尾デフォーカス量)が時刻t1に求まる。
Table 2 summarizes the relationship between the combination of the frame speed mode and the focus mode and the tracking operation. From Table 2, the tracking mode for determining the drive amount of the AF motor 50 by adding the tracking correction amount to the normal defocus amount for the dynamic subject is selected only when the focus mode is C and the frame speed mode is C2. Will be. The operation of the AF CPU 30 and the main CPU 70 in the tracking mode will be described in more detail with reference to FIGS. FIG. 3 is a diagram showing the relationship between the movements of the subject and the photographing lens when the release button is fully pressed in the tracking mode and the operations of the AF CPU 30 and the main CPU 70. The vertical axis represents the lens position Z, and the horizontal axis represents time t. A solid line L1 is a locus of an ideal position of the photographing lens 11 necessary for always forming a subject image on a film surface when the subject is continuously moving. The alternate long and short dash line L2
Is the locus of the actual shooting lens 11 moving. At time t0 when the main CPU finishes the mirror down operation, the taking lens 11 is stopped and the lens position is at Z0. The AFCPU starts accumulation of the CCD at time t0 and ends the accumulation at time t7. AFCPU starts C from time t7.
A / D conversion of CD data and calculation of focus detection are started. In the tracking mode, when a dynamic object is determined by the tracking algorithm as described later, the photographing lens is driven according to an amount obtained by adding a tracking correction amount to a defocus amount obtained by a focus detection calculation as a static object. Here, a defocus amount corresponding to the difference (ΔZ2 = Z2-Z0) between the solid line L1 and the one-dot chain line L2 and a tracking correction amount (previous time) at time t10, which is a midpoint between time t0 and time t7, are added. The object (tracking defocus amount) is obtained at time t1.

【0024】一方メインCPUは時刻t0よりチャージ
・巻上動作を開始し時刻t2に終了する。AFCPUは
時刻t2にチャージ・巻上動作が終了するとモータ駆動
を開始して前記追尾デフォーカス量を新たに追尾補正量
とし、これとデフォーカス量を加えた量(ΔZ1=Z1
−Z0)だけ撮影レンズ11を移動させる。又モータ駆
動開始時刻t2から所定時間後の時刻t4よりメインC
PUはミラーアップ動作を開始する。AFCPUはモー
タ駆動開始時刻t2より所定時間後の時刻t5に強制的
にモータ駆動を終了する。メインCPUは時刻t4より
所定時間後の時刻t8にミラーアップ動作を終了しシャ
ッター動作を開始する。そして時刻t9にシャッター動
作を終了しミラーダウン動作を開始し時刻t6にミラー
ダウン動作を終了する。メインCPUは時刻t6より再
びチャージ巻上動作を開始するとともにAFCPUは次
回のCCD蓄積動作を開始する。
On the other hand, the main CPU starts the charging / winding operation from time t0 and ends at time t2. When the charging and hoisting operation is completed at time t2, the AFCPU starts motor driving, sets the tracking defocus amount as a new tracking correction amount, and adds this to the defocus amount (ΔZ1 = Z1).
The photographing lens 11 is moved by -Z0). Further, the main C is shifted from a time t4 after a predetermined time from the motor drive start time t2.
The PU starts a mirror-up operation. The AFCPU forcibly ends the motor driving at time t5, which is a predetermined time after the motor driving start time t2. The main CPU ends the mirror-up operation at time t8, which is a predetermined time after time t4, and starts the shutter operation. Then, at time t9, the shutter operation ends, the mirror down operation starts, and at time t6, the mirror down operation ends. The main CPU starts the charge winding operation again at time t6, and the AF CPU starts the next CCD accumulation operation.

【0025】以上のように追尾モードでの撮影時には、
撮影動作と撮影動作の間に必ず焦点検出とモータ駆動の
時間が入るように設定されていると同時にシャッター動
作のタイミングはモータ駆動終了時点近くとなるので図
3に示す如く、軌跡L1とL2の偏差が少ない所で撮影
ができ、ピントの合った写真ができる。上述の説明では
簡単のため所定のAFモータ駆動時間(t2〜t5)の
間に必要な追尾デフォーカス量ΔZ1が丁度駆動し終わ
る場合を示したが、実際にはあらかじめ一定値に定めら
れたモータ駆動時間(t2〜t5)の終了前の時刻t
5′やt5″で駆動が終了し、残りの時間はAFモータ
駆動は停止状態となるようにする方が制御が容易であ
る。いずれにしても所定のモータ駆動時間(t2〜t
5)の間に必要な追尾デフォーカス量ΔZ1の駆動が終
了しているようにする。AFモータ駆動時間の長さは、
例えばその間に3〜4mmのデフォーカス量分を駆動でき
る程度の時間例えば100ms前後に定める。このように
AFモータの駆動時間を一定とし、モータ駆動開始時刻
t2から一定時間後の時刻t4にミラーアップ開始とす
る事で正確な追尾撮影が可能となる。
As described above, when photographing in the tracking mode,
Since the time for focus detection and the time for driving the motor are always set between the photographing operations, the timing of the shutter operation is close to the end of the motor driving. Therefore, as shown in FIG. You can shoot in places where there is little deviation, and you can get in-focus photos. In the above description, for simplicity, the case where the required tracking defocus amount ΔZ1 has just been driven during the predetermined AF motor drive time (t2 to t5) has been shown. Time t before the end of driving time (t2 to t5)
It is easier to control the drive to end at 5 'or t5 "and to keep the AF motor drive stopped for the remaining time. In any case, the predetermined motor drive time (t2 to t)
The driving of the required tracking defocus amount ΔZ1 during 5) is completed. The length of AF motor drive time is
For example, the time is set to be about 100 ms, for example, so that a defocus amount of 3 to 4 mm can be driven during that time. By keeping the AF motor driving time constant and starting the mirror up at a time t4 after a certain time from the motor driving start time t2, accurate tracking photographing can be performed.

【0026】即わちこれによって駆動量の多少によらず
サイクルタイム(t0〜t6)が一定となるので、焦点
検出演算されるデフォーカス量がこのサイクルタイムの
周期でくり返し算出される為、後述の被写体移動の有無
の判定や、前記追尾補正量の算出等が、容易にかつ正確
に行なえる。さらにまた、モータ駆動開始時刻t2後所
定時間経過した後の時刻t4にミラーアップを行ない、
ミラーアップ終了後シャッター動作が開始して露光が始
まる時刻t8までに必要とされる駆動量の駆動を終了し
ているように時間間隔を設定しているので、常にモータ
駆動開始から露光までの時間(t2〜t8)が一定とな
り、来たるべき露光の瞬間にL1とL2が交差するよう
に正確な予測駆動を行うことができる。即わち被写体が
動いておりかつその速度も様々である場合、上記t2〜
t8の時間が一定でないと、この変動分の時間間隔にお
けるの被写体の移動に対応したレンズ駆動量の変化を何
らかの方法で算出して補正しなければならず、露光の瞬
間にL1とL2が交差又は合致するように制御すること
が非常に難しくなる。従ってAFモータ駆動時間を一定
の値に定め、モータ駆動開始から一定時間後にミラーア
ップ開始とする事が追尾の性能を高める上で重要とな
る。図4はAFCPUの追尾モードでの動作をさらに詳
しく各内部フラグと各IO信号との関係からながめた動
作フローチャートである。
In other words, the cycle time (t0 to t6) becomes constant regardless of the drive amount, and the defocus amount calculated for focus detection is calculated repeatedly in the cycle of this cycle time. The determination of the presence or absence of the movement of the subject, the calculation of the tracking correction amount, and the like can be easily and accurately performed. Furthermore, mirror up is performed at time t4 after a predetermined time has elapsed after motor drive start time t2,
The time interval is set so that the driving of the required driving amount is completed by the time t8 when the shutter operation starts after the mirror-up is completed and the exposure starts, so that the time from the start of motor driving to the exposure is always maintained. (T2 to t8) becomes constant, and accurate prediction driving can be performed so that L1 and L2 intersect at the moment of the coming exposure. In short, if the subject is moving and the speed is also various, the above t2
If the time t8 is not constant, a change in the lens drive amount corresponding to the movement of the subject in the time interval of the change must be calculated and corrected by some method, and L1 and L2 intersect at the moment of exposure. Or it will be very difficult to control to match. Therefore, it is important to set the AF motor drive time to a fixed value and to start the mirror up after a fixed time from the start of the motor drive in order to enhance the tracking performance. FIG. 4 is an operation flowchart showing the operation of the AF CPU in the tracking mode in more detail based on the relationship between each internal flag and each IO signal.

【0027】ディレイフラグ(DLYFLG)はミラー
アップ後のモータディレイ駆動状態を表わすフラグであ
り、ONの時はディレイ駆動中、OFFの時はディレイ
駆動外である。駆動状態フラグ(MOVFLG)はモー
タ駆動状態を表わすフラグでありONの時はモータ駆動
中、OFFの時は停止中である。追尾ディレイフラグ
(PDYFLG)は追尾モードでのモータ駆動開始から
ミラーアップ開始までのモータ追尾ディレイ駆動状態を
表わすフラグであり、ONの時は追尾ディレイ駆動中O
FFの時は追尾ディレイ駆動外である。ミーラフラグ
(MIRFLG)は追尾モードでのミラーアップ前後状
態を表わすフラグであり、ONの時はミラーアップ前O
FFの時はミラーアップ後である。図4において駒速モ
ードはC2、フォーカスモードはCが選択されている、
即わち追尾モードが選択されており、レリーズボタン信
号(RB)は全押し(ON)となっている。AFCPU
は時刻t1においてCCD蓄積焦点検出演算を終了(O
FF)してメインCPUからのAF許可を待機する。
The delay flag (DLYFLG) is a flag indicating a motor delay driving state after the mirror is raised. The drive state flag (MOVFLG) is a flag indicating the motor drive state, and is ON when the motor is being driven, and is stopped when OFF. The tracking delay flag (PDYFLG) is a flag indicating a motor tracking delay driving state from the start of driving the motor in the tracking mode to the start of mirror up.
In the case of FF, the tracking delay is not driven. The mirror flag (MIRFLG) is a flag indicating a state before and after the mirror-up in the tracking mode.
FF is after mirror up. In FIG. 4, the frame speed mode is C2 and the focus mode is C.
In short, the tracking mode is selected, and the release button signal (RB) is fully pressed (ON). AFCPU
Ends the CCD accumulated focus detection calculation at time t1 (O
FF) and waits for AF permission from the main CPU.

【0028】時刻t2においてメインCPUが巻上チャ
ージを完了しAF許可信号を許可(ON)にするとAF
CPUはこれを検知して焦点検出演算結果に基づいたモ
ータ駆動を開始する。同時に駆動状態フラグ(MOVF
LG)を駆動中(ON)、追尾ディレイフラグ(PDY
FLG)を追尾ディレイ中(ON)、ミラーフラグ(M
IRFLG)をミラーアップ前(ON)にセットする。
時刻t2よりAFCPUは追尾ディレイ時間(T1)の
計時を開始し時刻t3に計時を終了すると、追尾ディレ
イフラグ(PDYFLG)を追尾ディレイ外(OFF)
にリセットしメインCPUに対しレリーズ許可信号(R
L)を許可(ON)とする。上記追尾ディレイ時間(T
1)を設けることによりミラーアップ開始までに一定の
AFモータ駆動時間を確保することができる。メインC
PUはレリーズ許可信号(RL)が許可(ON)となっ
たことを検知して、時刻t4よりミラーアップ動作を開
始する同時にミラーアップ信号(MR)をアップ(O
N)にする。
At time t2, when the main CPU completes the hoisting charge and turns the AF permission signal on (ON), the AF
The CPU detects this and starts driving the motor based on the result of the focus detection calculation. At the same time, the drive status flag (MOVF
LG) (ON), the tracking delay flag (PDY)
FLG) during the tracking delay (ON), the mirror flag (M
IRFLG) before mirror-up (ON).
At time t2, the AFCPU starts measuring the tracking delay time (T1), and when the time measurement ends at time t3, the AFCPU sets the tracking delay flag (PDYFLG) out of the tracking delay (OFF).
And a release permission signal (R
L) is permitted (ON). The tracking delay time (T
By providing 1), it is possible to secure a constant AF motor driving time until the mirror-up operation starts. Main C
The PU detects that the release permission signal (RL) has been permitted (ON), starts the mirror-up operation at time t4, and simultaneously raises the mirror-up signal (MR) (O).
N).

【0029】AFCPUはミラーアップ信号(MR)が
アップ(ON)になったことを検知してレリーズ許可信
号(RL)を禁止(OFF)とする。又同時にミラーフ
ラグ(MIRFLG)をミラーアップ後(OFF)にリ
セットし、ディレイフラグ(DLYFLG)をディレイ
中(ON)にセットする。AFCPUは時刻t4よりデ
ィレイ時間(T2)の計時を開始し、時刻t5に計時を
終了すると、ディレイフラグ(DLYFLG)をディレ
イ外(OFF)にリセットしモータ駆動がこれ以前に終
了していない場合にはモータ駆動を強制的に終了させる
とともに駆動状態フラグ(MOVFLG)を停止中(O
FF)とする。AFCPUはこれ以降ミラーアップ信号
(MR)がダウン(OFF)となるのを待機している。
メインCPUは時刻t4より始まった一連のミラーアッ
プ動作、シャッタ動作、ミラーダウン動作を終了すると
時刻t6においてミラーアップ信号(MR)をダウン
(OFF)とする。AFCPUはこれを検知して次回の
CCD蓄積動作を開始する。
The AFCPU detects that the mirror-up signal (MR) is up (ON) and disables (OFF) the release permission signal (RL). At the same time, the mirror flag (MIRFLG) is reset after the mirror is raised (OFF), and the delay flag (DLYFLG) is set to a delay (ON). The AFCPU starts measuring the delay time (T2) at time t4, and when the time measurement ends at time t5, resets the delay flag (DLYFLG) to outside the delay (OFF). Is forcibly terminating the motor drive and stopping the drive state flag (MOVFLG) (O
FF). The AFCPU thereafter waits for the mirror-up signal (MR) to go down (OFF).
When the main CPU finishes a series of mirror-up operation, shutter operation, and mirror-down operation started at time t4, it turns down (OFF) the mirror-up signal (MR) at time t6. The AFCPU detects this and starts the next CCD accumulation operation.

【0030】以上のように追尾モードにおいては撮影動
作間に必ず一回の焦点検出及びAFモータ駆動動作が行
なわれるとともにAFモータ駆動時間が最大で追尾ディ
レイ時間(T1)+駆動ディレイ時間(T2)だけ確保
できるので動きの速い被写体に対して十分追尾を行なう
ことが可能になる。以上が追尾モードでのAFCPUの
動作が時間的流れの概要である。次に本発明の実施例に
おけるAFCPUとメインCPUの具体的プログラム及
びその動作について説明する。まずメインCPUのプロ
グラムについて図5、図6のフローチャートを用いて説
明する。メインCPUはタイマーを内蔵しておりタイマ
ー割込み機能を有している。プログラムは図5に示すメ
インプログラムと図6に示すタイマー割込みプログラム
の2つから構成されている。図5において、メインプロ
グラムは#100においてまずイニシャライズを行な
う。即わちAFCPUに対するIO信号ミラーアップ信
号(MR)をダウン(OFF)、AF許可信号(AF)
を許可(ON)とする。又所定時間毎例えば、50msお
きにタイマー割込がかかるようにタイマーをセットしタ
イマー割込を許可する。
As described above, in the tracking mode, the focus detection and the AF motor driving operation are always performed once during the photographing operation, and the AF motor driving time is the maximum tracking delay time (T1) + driving delay time (T2). , It is possible to sufficiently track a fast-moving subject. The above is an outline of the temporal flow of the operation of the AFCPU in the tracking mode. Next, specific programs and operations of the AF CPU and the main CPU in the embodiment of the present invention will be described. First, the program of the main CPU will be described with reference to the flowcharts of FIGS. The main CPU has a built-in timer and has a timer interrupt function. The program is composed of a main program shown in FIG. 5 and a timer interrupt program shown in FIG. In FIG. 5, the main program first performs initialization in # 100. That is, the IO signal mirror up signal (MR) for the AFCPU is reduced (OFF), and the AF permission signal (AF)
Is permitted (ON). Further, the timer is set so that the timer is interrupted every predetermined time, for example, every 50 ms, and the timer interrupt is permitted.

【0031】次に#105でレリーボタン(RB)が全
押(ON)となるのを待機する。レリーズボタン(R
B)が全押し(ON)になると#110に進みフォーカ
スモード(FM)がマニュアル(M)であるかテスト
し、マニュアルの場合は#115から#125までのレ
リーズ許可待機をせずに即#130以降の撮影動作処理
にジャップする。#110でマニュアルでなかった場合
#115でフォーカスモード(FM)が連続AF(C)
であるかテストし連続AFでない即わちワンショットの
場合には#125に進む。#115で連続AFだった場
合には#120で駒速モードが通常連続撮影(C2)で
あるかテストし、C2でない場合には#130にジャン
プする。#120で駒速モードC2だった場合は#12
5に進む。#125ではレリーズ許可信号(RL)が許
可(ON)になるのを待機し、許可になると#130に
進む。以上の#110〜#125ではフォーカスモード
がワンショットAFあるいはフォーカスモードが連続A
Fで駒速モードがC2即ち追尾モードの場合だけAFC
PUからのレリーズ許可信号を待機してから#130以
降の撮影動作処理に進みそれ以外のモード設定の場合に
は、即#130以降の撮影動作処理を行なうことにな
る。
Next, at step # 105, the control waits until the release button (RB) is fully pressed (ON). Release button (R
When B) is fully pressed (ON), the process proceeds to step # 110 to test whether the focus mode (FM) is the manual mode (M). The process jumps to the photographing operation process after 130. If not manual in # 110, focus mode (FM) is continuous AF (C) in # 115
And if it is not a continuous AF, that is, in the case of one shot, the flow proceeds to # 125. If the continuous AF is performed in # 115, it is tested in # 120 whether the frame speed mode is the normal continuous shooting (C2). If not, the process jumps to # 130. # 12 if the frame speed mode is C2 in # 120
Go to 5. In step # 125, the process waits until the release permission signal (RL) is turned on (ON). In steps # 110 to # 125, the focus mode is one-shot AF or the focus mode is continuous A
AFC only when the frame speed mode is C2, ie, the tracking mode in F
After waiting for the release permission signal from the PU, the process proceeds to the photographing operation process after # 130, and in the other mode setting, the photographing operation process after # 130 is immediately performed.

【0032】#130ではミラーアップ信号(MR)を
アップ(ON)にして、#135で後述するタイマー割
込処理で行なわれるAE演算結果により目標絞り値にな
るよう絞り制御を行なうと同時にミラーアップ制御を行
なう。#140ではAE演算により求められたシャッタ
速度でシャッタ制御を行なう。#145ではミラーダウ
ン制御を行なうとともに絞り制御を行ない絞りを開放に
する。#150ではミラーアップ信号(MR)をダウン
(OFF)にし、次に#155ではAF許可信号(A
F)を禁止(OFF)にして#160で巻上チャージ制
御を行なう。巻上チャージが完了すると#165でAF
許可信号(AF)を許可(ON)にする。#170では
駒速モードが通常連続撮影(C2)であるかテストし、
C2であった場合には#175に進み、所定時間のディ
レイの後再び#105に戻る。又#170でC2でなか
った場合には、#180で駒速モードがシングル(S)
がテストし、シングルであった場合には#185でレリ
ーズボタン信号(RB)が全押でなくなる(OFF)の
を待機して、全押でなくなった#105に戻る。#18
0でシングルでない場合即ち高速連続撮影(C1)であ
った場合は即#105に戻り、次回の撮影動作シーケン
スをくり返す。図6はメインCPUのタイマ割込プログ
ラムであり、メインCPUがメインプログラムを実行中
に所定時間毎(例50ms)にタイマ割込プログラムが起
動する。
In step # 130, the mirror-up signal (MR) is turned up (ON), and in step # 135, the aperture control is performed so that the aperture value becomes the target aperture value based on the result of the AE operation performed in the timer interrupt processing described later, and at the same time, the mirror-up is performed. Perform control. In step # 140, the shutter control is performed at the shutter speed obtained by the AE calculation. In step # 145, mirror down control is performed and aperture control is performed to open the aperture. In # 150, the mirror up signal (MR) is turned down (OFF), and then in # 155, the AF permission signal (A
F) is prohibited (OFF), and the winding charge control is performed in # 160. AF is completed at # 165 when the winding charge is completed.
The permission signal (AF) is permitted (ON). In # 170, it is tested whether the frame speed mode is the normal continuous shooting (C2),
If it is C2, the process proceeds to # 175, and after a delay of a predetermined time, returns to # 105 again. If it is not C2 in # 170, the frame speed mode is single (S) in # 180.
Is tested, and if it is single, the process waits until the release button signal (RB) is not fully pressed (OFF) at # 185, and returns to # 105 where it is no longer fully pressed. # 18
If it is not 0 and it is not single, that is, if it is high-speed continuous shooting (C1), the process immediately returns to # 105, and the next shooting operation sequence is repeated. FIG. 6 shows a timer interrupt program of the main CPU. The timer interrupt program is activated at predetermined time intervals (for example, 50 ms) while the main CPU is executing the main program.

【0033】まずタイマー割込がかかると、#200で
図1に示したレンズCPU13と通信バス64を通じて
通信し、レンズのAE情報(設定絞り値、焦点距離等)
を取り込む。次に#205で図1のAE情報手段85よ
りボディのAE情報(測光値、フィルム感度等)を収集
する。#210ではレンズのAE情報及びボディのAE
情報、に基づいてAE演算を行ない目標絞り値、シャッ
タ速度等を決定する。#215ではAE演算で得られた
結果を図1の表示手段86に表示し#220でメインプ
ログラムへリターンする。以上がメインCPUのプログ
ラム動作である。次にAFCPUのプログラムについて
説明する。AFCPUはCCD出力のAD変換データを
格納するメモリとタイマーとパルスカウンタを内蔵して
おりタイマー割込機能とパルスカウンタ割込機能を有し
ている。表3にAFCPUのプログラムで使用するフラ
グの名称及び意味を示す。表4にAFCPUのプログラ
ムで使用するデータの名称及び内容を示す。図7にAF
CPUのプログラム概要を示す。AFCPUのプログラ
ムはメインプログラムと2つの割込プログラム(タイマ
ー割込プログラム及びパルスカウンタ割込プログラム)
とから構成されている。更にメインプログラムは(1)〜
(11)のモジュールから構成されており大きなループ構
造となっている。
First, when the timer is interrupted, the camera communicates with the lens CPU 13 shown in FIG. 1 through the communication bus 64 at # 200, and AE information (set aperture value, focal length, etc.) of the lens.
Take in. Next, at step # 205, AE information (photometric value, film sensitivity, etc.) of the body is collected from the AE information means 85 of FIG. In # 210, the AE information of the lens and the AE of the body
The AE calculation is performed based on the information to determine a target aperture value, a shutter speed, and the like. In # 215, the result obtained by the AE operation is displayed on the display means 86 of FIG. 1, and in # 220, the process returns to the main program. The above is the program operation of the main CPU. Next, the program of the AFCPU will be described. The AFCPU has a built-in memory for storing A / D conversion data of the CCD output, a timer and a pulse counter, and has a timer interrupt function and a pulse counter interrupt function. Table 3 shows the names and meanings of the flags used in the AFCPU program. Table 4 shows the names and contents of data used in the AFCPU program. FIG. 7 shows AF
The program outline of the CPU is shown. The AFCPU program is a main program and two interrupt programs (timer interrupt program and pulse counter interrupt program)
It is composed of The main program is (1) ~
It consists of the module of (11) and has a large loop structure.

【0034】メインプログラムではまず(1)イニシャラ
イズモジュールで各種フラグ、データ、信号の初期化を
行なう。次に(2)蓄積前処理モジュールでCCD蓄積開
始可・不可の判定を行ない、蓄積可(ミラーがダウンし
ていてAFモータが停止している)となった場合は、
(3)CCD蓄積制御モジュールでCCDの蓄積開始・終
了・蓄積時間の管理の制御を行なう。 (4) CCD出力AD変換モジュールではCCD出力を
AD変換したCCDデータを内部メモリに格納する。 (5) AFアルゴリズムモジュールでは格納されたデー
タに所定の焦点検出演算を施こして静的被写体に対する
デフォーカス量を算出する。 (6) レンズ情報読み込みモジュールではレンズCPU
と通信を行ないモータ駆動等に必要なレンズAF情報を
取り込む。 (7) 追尾アルゴリズムモジュールでは動的被写体か否
かを判定し、動的被写体と判定された場合は、静的被写
体に対するデフォーカス量に追尾補正量を加えて動的被
写体に対するモータ駆動量(追尾駆動量)を決定する。 (8) 合焦判定・表示モジュールでは、合焦状態(デフ
ォーカス量が合焦ゾーン内であるか否か)の判定を行な
い、判定結果を図1のAF表示手段40に表示する。 (9) AF許可待機モジュールでは追尾モードの場合メ
インCPUから送られてくるAF許可信号(AF)が許
可(ON)となるのを待機する。 (10) 駆動制御モジュールではデフォーカス量をパルス
数の変換し該パルス数データを比較レジスタにセットす
るとともに合焦方向にAFモータの駆動を開始する。 (11) AGC(オートゲインコントロール)演算モジュ
ールでは、今回得られたCCDデータに基づいて次回の
CCDデータが適当な値となるように次回のCCD蓄積
時間(INTT)を決定し、(2)蓄積前処理モジュール
に戻る。以上がAFCPUのメインプログラムの概要で
あり、CCDの蓄積動作とAFモータ駆動による撮影レ
ンズの駆動動作が互いに時間的に独立したシーケンスと
なっている。 (12) タイマー割込みモジュールでは、各種IO信号の
変化の検知及びそれに応じたフラグのセット・リセット
処理、駆動ディレイ時間の管理、レンズ端の検出が行な
われる。 (13) パルスカウンタ割り込みモジュールでは、AFモ
ータの駆動停止処理が行なわれる。
In the main program, first, (1) various flags, data, and signals are initialized by the initialization module. Next, (2) the accumulation preprocessing module determines whether or not CCD accumulation can be started. If accumulation is possible (the mirror is down and the AF motor is stopped),
(3) The CCD accumulation control module controls the start, end and accumulation time of CCD accumulation. (4) The CCD output AD conversion module stores the CCD data obtained by AD converting the CCD output in the internal memory. (5) The AF algorithm module performs a predetermined focus detection calculation on the stored data to calculate a defocus amount for a static subject. (6) In the lens information reading module, the lens CPU
And lens AF information necessary for driving the motor and the like. (7) The tracking algorithm module determines whether or not the subject is a dynamic subject. If the subject is determined to be a dynamic subject, the tracking correction amount is added to the defocus amount for the static subject, and the motor drive amount (the tracking Drive amount). (8) The focus determination / display module determines the focus state (whether or not the defocus amount is within the focus zone) and displays the determination result on the AF display means 40 in FIG. (9) The AF permission standby module waits for the AF permission signal (AF) sent from the main CPU to be permitted (ON) in the tracking mode. (10) The drive control module converts the defocus amount into a pulse number, sets the pulse number data in the comparison register, and starts driving the AF motor in the focusing direction. (11) The AGC (auto gain control) calculation module determines the next CCD accumulation time (INTT) based on the CCD data obtained this time so that the next CCD data will have an appropriate value. Return to the preprocessing module. The outline of the main program of the AF CPU has been described above, and the accumulation operation of the CCD and the operation of driving the photographing lens by driving the AF motor are time-independent sequences. (12) The timer interrupt module detects changes in various IO signals, sets and resets flags in accordance with the changes, manages drive delay time, and detects lens ends. (13) In the pulse counter interrupt module, the drive stop processing of the AF motor is performed.

【0035】次に各モジュールの動作について詳細な説
明を行なう。図8は(1)イニシャライズモシュールのフ
ローチャートであり、AFCPUは電源ON又はリセッ
トにより#230より処理を開始する。#230ではA
FCPUのプログラムで使用する各種フラグ及びデータ
の初期化を行なう。フラグ及びデータの初期値について
は表3及び表4に示した通りである。表4で初期値が空
欄となっているものは初期化の不要なものである。又C
CDの蓄積時間(INTT)の初期値は所定値IZ(例
えば1ms)にセットされる。次に#235ではレリーズ
許可信号(RL)を禁止(OFF)にする。これはワン
ショットAFモードや追尾モードで電源ONで即レリー
ズボタンを全押しても撮影動作が行なわれないようにす
るためである。#240では、図1のAF表示手段40
の表示部41、42、43、44を全て表示OFFとす
る。#245では、AFモータの初期化(停止)を行な
う。#250ではCCDの受光部転送部に蓄積されてい
る電荷を掃き出すとともにCCDを蓄積終了状態にさせ
る指令を図1のセンサー制御手段26に送りCCDを初
期化する。#255では、AFCPUに内蔵されたタイ
マー類のセットを行ない。タイマー割り込みが所定時間
(例えば1ms)おきにかかるようにする。#260では
上記タイマー割込の受付を許可する。#265ではAF
モータ駆動停止のためのパルスカウンタ割込を禁止して
(2)蓄積前処理モジュールへ進む。
Next, the operation of each module will be described in detail. FIG. 8 is a flowchart of (1) Initialize Module. The AF CPU starts processing from # 230 by turning on or resetting the power. A in # 230
Various flags and data used in the program of the FCPU are initialized. The initial values of the flags and data are as shown in Tables 3 and 4. In Table 4, those whose initial values are blank are those that do not require initialization. And C
The initial value of the storage time (INTT) of the CD is set to a predetermined value IZ (for example, 1 ms). Next, in step # 235, the release permission signal (RL) is prohibited (OFF). This is to prevent the photographing operation from being performed even if the release button is fully pressed immediately after the power is turned on in the one-shot AF mode or the tracking mode. In # 240, the AF display unit 40 of FIG.
Of the display units 41, 42, 43 and 44 are turned off. In # 245, the AF motor is initialized (stopped). In step # 250, a command for sweeping out the electric charge accumulated in the light-receiving unit transfer section of the CCD and for bringing the CCD into an accumulation end state is sent to the sensor control means 26 of FIG. 1 to initialize the CCD. In # 255, the timers built in the AFCPU are set. The timer interruption is performed every predetermined time (for example, every 1 ms). In step # 260, acceptance of the timer interrupt is permitted. AF in # 265
The pulse counter interrupt for stopping the motor drive is prohibited (2) and the process proceeds to the storage preprocessing module.

【0036】(2)蓄積前処理モジュール以降の説明は、
前述のようにループ構造となっているので電源ON時の
動作ではなくループを何回かまわった時の動作として説
明を行なう。図9に(2)蓄積前処理モジュールのフロー
チャートを示す。#270では追尾モードであるかテス
トし、追尾モードでない場合には、#276へジャンプ
する。#270で追尾モードであった場合は#275で
ミラーアップが終了したかテストし、ミラーアップが終
了していない場合は再び#270へ戻り以上の処理をく
り返し、#275でミラーアップが終了していると判定
された場合は#276へ進む。以上の#270、#27
5の処理は、図4の動作タイムチャートに示すように追
尾モードでレリーズボタンが全押しされている場合に撮
影動作間に1回だけ焦点検出演算及びAFモータ駆動動
作を行なわせるための処理である。即わち追尾モードの
全押中には後述するようにAFモータ駆動開始時点でミ
ラーフラグ(MIRFLG)がONにセットされるとと
もに、次回のCCD蓄積開始は、必ずミラーアップによ
りミラーフラグ(MIRFLG)がOFFされた後とな
る。追尾モード以外では余裕があれば撮影動作間に何回
でも焦点検出演算及びAFモータ駆動を行なうので#2
75をスキップする。追尾モードにおいては撮影動作間
に必ず1回だけ焦点検出演算を入れるのは次の理由によ
る。即わち連写撮影中の追尾においては、露光の瞬間に
ピントが合った状態となるように追尾補正量を算出し、
そのようにレンズを駆動制御する事は前にも述べた通り
である。
(2) The description after the storage preprocessing module is as follows.
Because of the loop structure as described above, the description will be made not as an operation when the power is turned on but as an operation when the loop is rotated several times. FIG. 9 shows a flowchart of the (2) storage preprocessing module. In step # 270, a test is performed to determine whether the mode is the tracking mode. If the mode is not the tracking mode, the process jumps to step # 276. If the tracking mode has been set in # 270, it is tested whether or not the mirror-up operation has been completed in # 275. If it is determined that there is, the process proceeds to # 276. # 270 and # 27 above
The process 5 is a process for performing the focus detection calculation and the AF motor driving operation only once during the photographing operation when the release button is fully pressed in the tracking mode as shown in the operation time chart of FIG. is there. Immediately, during the full pressing in the tracking mode, the mirror flag (MIRFLG) is set to ON at the time of starting the AF motor driving, as described later, and the next CCD accumulation start is always the mirror flag (MIRFLG) by mirror up. Is turned off. In the mode other than the tracking mode, if there is enough time, the focus detection calculation and the AF motor drive are performed any number of times during the shooting operation.
Skip 75. The reason why the focus detection calculation is always performed only once during the photographing operation in the tracking mode is as follows. In short, in tracking during continuous shooting, the tracking correction amount is calculated so that the subject is in focus at the moment of exposure,
Such drive control of the lens is as described above.

【0037】上記の目的を精度よく達成するためには露
光、蓄積演算、駆動、露光、蓄積演算、駆動…が所定の
時間間隔でくり返し行なわれる事が望ましい。露光と駆
動の間に蓄積演算の入る回数がその都度異なる場合、サ
イクルタイムが変動するようになり、正確な動体判定を
行ない、正確な追尾補正量を求める処理が非常に煩雑又
は困難となる。#276ではスキャン中(SCAFLG
がON)かテストし、スキャン中の場合は#280のA
Fモータの駆動の停止を待機せずに#285へジャンプ
する。これはスキャン中だけはAFモータのスキャン駆
動動作とCCDの蓄積動作を時間的に並列に行なうこと
を許可するためである。#276でスキャン外であった
場合には#280へ進む。#280ではAFモータの停
止(MOVFLGがOFF)を待機し、停止したら#2
85に進む。これは前述のようにCCDの蓄積動作とA
Fモータの駆動動作を時間的に分離するためである。#
285では現在追尾中か否かテストし追尾中でなかった
場合は#305へジャンプする。追尾中(PRSFLG
がON)とは後述の追尾アルゴリズムにおいて被写体が
動的被写体であると判定され、AFモータの駆動量を
(通常の駆動量+追尾補正量)としてAFモータの駆動
を行っている状態である。#285で追尾中であった場
合には#290で更に被写体が接近中(追尾駆動量DR
IV<0即ち駆動方向が至近方向)であるかテストし、
接近中の場合は#305にジャンプする。#290では
接近中でない場合即わち被写体が遠ざかっている場合に
は、#295で駆動の残量(予定パルス数ETM−現在
までのパルスカウント数ECNT)が所定量EXより大
きいかテストし、大きくない場合は#305へジャンプ
する。#295で駆動残量が大きいと判定された場合
は、#300へ進み追尾補正量をクリア(COMP=
0)する。尚、追尾補正量は後述する追尾アルゴリズム
で使用されるデータである。#285から#300まで
の処理を要約すると追尾中でかつ被写体が遠ざかってい
てかつAFモータ停止時の駆動残量が大きい場合には追
尾補正量をクリアするという処理になる。
In order to achieve the above object with high accuracy, it is desirable that exposure, accumulation operation, driving, exposure, accumulation operation, driving... Are repeatedly performed at predetermined time intervals. If the number of times the accumulation calculation is performed between the exposure and the drive is different each time, the cycle time fluctuates, and accurate moving object determination is performed, and the process of obtaining an accurate tracking correction amount becomes very complicated or difficult. In # 276, scanning is in progress (SCAFLG
Is ON), and if scanning is in progress, A of # 280
The flow jumps to # 285 without waiting for the stop of the driving of the F motor. This is to permit the scan drive operation of the AF motor and the accumulation operation of the CCD to be performed temporally in parallel only during scanning. If it is determined in step # 276 that the image is not scanned, the process proceeds to step # 280. In step # 280, the process waits for the AF motor to stop (MOVFLG is OFF).
Proceed to 85. This is because the accumulation operation of the CCD and A
This is for separating the driving operation of the F motor temporally. #
At 285, a test is performed to determine whether or not tracking is currently being performed. If tracking is not being performed, the process jumps to step # 305. Tracking (PRSFLG
(ON) means that the subject is determined to be a dynamic subject in a tracking algorithm described later, and the AF motor is driven with the drive amount of the AF motor being (normal drive amount + tracking correction amount). If the subject is being tracked in # 285, the subject is approaching further in # 290 (the tracking drive amount DR
IV <0, that is, the driving direction is the closest direction)
If it is approaching, jump to # 305. If the object is not approaching in # 290, that is, if the subject is moving away, it is tested in # 295 whether the remaining amount of driving (the expected pulse number ETM-the pulse count number ECNT up to the present) is larger than the predetermined amount EX, If not, jump to # 305. If it is determined in step # 295 that the remaining drive amount is large, the flow advances to step # 300 to clear the tracking correction amount (COMP =
0). The tracking correction amount is data used in a tracking algorithm described later. To summarize the processes from # 285 to # 300, the process is to clear the tracking correction amount when tracking is being performed, the subject is moving away, and the remaining driving amount when the AF motor is stopped is large.

【0038】このような処理を行なう理由について図1
0を用いて説明する。図10において実線は被写体が一
定の速度で遠ざかっている場合にフィルム面上に被写体
像を常に結像させるための理想的な撮影レンズ11のレ
ンズ位置の軌跡、一点鎖線は実際の追尾中で全押の場合
の撮影レンズの動きの軌跡を表わしている。時刻t0に
撮影レンズ11の位置がZ0で停止しCCDの蓄積を開
始し、蓄積時間の中点の時刻t1において実線と一点鎖
線がほぼ交わっていて静的被写体に対するデフォーカス
量はほぼ0となり追尾アルゴリズムによって動的被写体
と判定され追尾補正量が加わえられた追尾駆動量(Z2
−Z0)だけ時刻t2より駆動を開始した場合について
考察する。追尾中で全押の場合は図4の動作タイムチャ
ートでも説明したようにAFモータの全駆動時間が所定
時間(ほぼT1+T2)に制限されているので、追尾駆
動量が大きく時刻t2より所定時間後の時刻t3までに
所定レンズ位置Z2に到達していない場合はAFモータ
の駆動は時刻t3レンズ位置Z1で強制的に終了させら
れる。時刻t3より再びCCDの蓄積を開始し、蓄積時
間の中点の時刻t4において実線の位置がZ3であった
とすると、静的被写体に対するデフォーカス量は(Z3
−Z1)に対応するものとなる。一方、追尾アルゴリズ
ムにおいて再び動的被写体と判定されると前回と同程度
の追尾補正量を加えられた追尾駆動量は(Z4−Z3)
となり時刻t5より駆動を開始すると破線で示す如く実
線よりもかなり行きすぎてしまう。ところが時刻t5に
おいて動的被写体でないと判定されれば静的被写体に対
するデフォーカス量に対応する駆動量(Z3−Z1)だ
け時刻t5より駆動され時刻t6においてレンズ位置Z
3に到達するので実線より行きすぎることはない。
FIG. 1 shows the reason for performing such processing.
Explanation will be made using 0. In FIG. 10, the solid line indicates the ideal locus of the lens position of the photographing lens 11 for always forming the subject image on the film surface when the subject is moving away at a constant speed. The trajectory of the movement of the taking lens in the case of pressing is shown. At time t0, the position of the photographing lens 11 stops at Z0, and accumulation of the CCD is started. At time t1, which is the middle point of the accumulation time, the solid line and the dashed line almost intersect, and the defocus amount for the static subject becomes almost zero, and tracking is performed. The tracking drive amount (Z2) determined as a dynamic subject by the algorithm and added with the tracking correction amount
−Z0) is considered when driving is started from time t2. In the case of full pressing during tracking, as described in the operation time chart of FIG. 4, since the entire driving time of the AF motor is limited to a predetermined time (approximately T1 + T2), the tracking drive amount is large and a predetermined time after time t2. If the predetermined lens position Z2 has not been reached by the time t3, the driving of the AF motor is forcibly terminated at the time t3 lens position Z1. Assuming that the CCD accumulation is started again at time t3 and the position of the solid line is Z3 at time t4 at the midpoint of the accumulation time, the defocus amount for the static subject is (Z3
−Z1). On the other hand, when it is determined again as a dynamic subject in the tracking algorithm, the tracking drive amount to which the same tracking correction amount as the previous time is added is (Z4-Z3).
When the driving is started at time t5, the driving time is much longer than the solid line as shown by the broken line. However, if it is determined at time t5 that the object is not a dynamic object, the lens is driven from time t5 by a driving amount (Z3-Z1) corresponding to the defocus amount for the static object, and the lens position Z at time t6.
Since it reaches 3, it does not go too far from the solid line.

【0039】そこで図9の#285から#300の処理
では追尾中に駆動量の残量が大きくなった場合(図10
で時刻t3でAFモータが強制停止させられたようなケ
ース)では追尾補正量をクリアする後述する追尾アルゴ
リズムでは追尾中に追尾補正量がクリアされるとその回
に動的被写体は判定されなくなるので、時刻t5以降追
尾外となり一点鎖線の軌跡で撮影レンズを移動すること
ができる。図9の#290で被写体の移動方向をテスト
し、接近中は追尾補正量をクリアしないのは一定速度で
被写体の接近する場合、理想的なレンズの動きは接近す
るとともに大きくなるので上記のような撮影レンズの行
きすぎといった問題は少ないためである。一方、被写体
が遠ざかる場合には理想的なレンズの動きは遠ざかるに
つれて減少するが、上記のような行きすぎが問題とな
る。もちろん接近してくる場合も遠ざかる場合と同様に
してもかまわない。又#295の所定量EXは実験によ
り一定量に決定することができるし、種々の条件(レン
ズ焦点距離、焦点検出サイクル時間=焦点検出時間+駆
動時間、等)によって変えることもできる。
Therefore, in the processes from # 285 to # 300 in FIG. 9, when the remaining amount of the driving amount becomes large during tracking (FIG. 10).
In the case where the AF motor is forcibly stopped at time t3), the tracking correction amount is cleared. In the tracking algorithm described below, if the tracking correction amount is cleared during tracking, the dynamic subject is not determined at that time. After the time t5, the subject becomes out of tracking, and the photographing lens can be moved along the locus of the dashed line. The moving direction of the subject is tested at # 290 in FIG. 9. The tracking correction amount is not cleared during the approach. When the subject approaches at a constant speed, the ideal lens movement increases as the approach approaches. This is because there are few problems such as excessive shooting lens movement. On the other hand, when the subject moves away, the ideal movement of the lens decreases as the distance increases, but the above-mentioned excessive movement poses a problem. Of course, the approaching approach may be the same as the approaching approach. Also, the predetermined amount EX of # 295 can be determined to be a constant amount by an experiment, or can be changed according to various conditions (lens focal length, focus detection cycle time = focus detection time + driving time, etc.).

【0040】図9に戻り再び(2)蓄積前処理モジュール
の説明を行なう。#305では次の(3)CCD蓄積制御
モジュールに備えて、メインCPUからミラーアップ信
号(MR)のダウン(OFF)を待機し、ミラーアップ
信号がダウンすると(3)CCD蓄積制御モジュールに進
む。図11は(3)CCD蓄積制御モジュールのフローチ
ャートである。#320に進んでくる前にスキャン中以
外はモータの駆動停止が確認され、さらにミラーがダウ
ンしていてCCDの蓄積が可能なことが確認されてい
る。#320では図1のセンサ制御手段26に対してC
CDの蓄積開始指令を出しCCDの蓄積を開始させる。
#325では第1回目のCCD蓄積以外は後述の(11)
AGC演算モジュールで決定された蓄積時間(INT
T)を計時する。第1回目のCCD蓄積の場合は(1)イ
ニシャライズモジュールで初期設定された蓄積時間(I
NTT=IZ)となる。計時方法はAFCPUに内蔵さ
れたタイマーあるいはソフト上で作られたタイマーによ
る。#325の蓄積時間の計時を終了すると、#330
でセンサ制御手段26に対してCCDの蓄積終了指令を
出しCCDの蓄積を終了させ、(4)CCD出力AD変換
モジュールに進む。
Returning to FIG. 9, the (2) accumulation preprocessing module will be described again. In step # 305, the main CPU waits for the mirror-up signal (MR) to go down (OFF) in preparation for the next (3) CCD accumulation control module. FIG. 11 is a flowchart of (3) the CCD accumulation control module. Before proceeding to # 320, it is confirmed that the drive of the motor is stopped except during scanning, and it is further confirmed that the mirror is down and the CCD can be accumulated. In step # 320, the sensor control means 26 shown in FIG.
A storage start command of the CD is issued to start the storage of the CCD.
In # 325, except for the first CCD accumulation, (11) described later.
Storage time (INT) determined by the AGC operation module
Time T). In the case of the first CCD accumulation, (1) the accumulation time (I) initially set by the initialization module
NTT = IZ). The time is measured by a timer built in the AFCPU or a timer created on software. When the measurement of the accumulation time in # 325 is completed, # 330
Then, a CCD accumulation end command is issued to the sensor control means 26 to terminate the accumulation of the CCD, and the process proceeds to (4) CCD output AD conversion module.

【0041】図12は(4)CCD出力AD変換モジュー
ルのフローチャートである。#340でAFCPUはセ
ンサ制御手段26から送られてくるCCD出力同期信号
と同期をとってCCD25から送出されるCCD出力の
AD変換を開始する。#345では以後センサ制御手段
26から送られるCCD出力転送ブロックに同期して所
定回数(2n回)だけCCD出力をAD変換してCCD
データを内部メモリに格納する。ここで一対のCCDデ
ータはA(1)〜A(n) B(1)〜B(n)としA(1)
とB(1) A(2)とB(2)・・・A(n)とB(n)が
図2の1対の受光部29A、29Bの対応する受光素子
の出力データとする。CCDデータの格納が終了すると
次の(5)AFアルゴリズムモジュールに進む。図13は
(5)アルゴリズムモジュールのフローチャートである。
#360では内部メモリに格納された2nケのCCDデ
ータA(1)〜A(n) B(1)〜B(n)を用いて本出
願による特開昭60−37513に開示された公知の相
関演算を行ない図2のCCD25上の一対の被写体像の
相対的横ずれ量(SHIFT)及び求められた横ずれ量
の信頼性を示すパラメータ(SLOP)を求める。図1
4、図15も用いて公知の相関演算について簡単に説明
する。まず(1)式の相関演算を行ないCCDデータ同志
の相関量C(L)を求める。
FIG. 12 is a flowchart of the (4) CCD output AD conversion module. In step # 340, the AF CPU starts AD conversion of the CCD output sent from the CCD 25 in synchronization with the CCD output synchronization signal sent from the sensor control means 26. In step # 345, the CCD output is AD-converted a predetermined number of times (2n times) in synchronism with the CCD output transfer block sent from the sensor control means 26.
Store the data in internal memory. Here, a pair of CCD data is A (1) to A (n) B (1) to B (n) and A (1)
A (2) and B (2)... A (n) and B (n) are output data of the corresponding light receiving elements of the pair of light receiving units 29A and 29B in FIG. When the storage of the CCD data is completed, the process proceeds to the next (5) AF algorithm module. FIG. 13 is a flowchart of (5) the algorithm module.
In step # 360, 2n CCD data A (1) to A (n) and B (1) to B (n) stored in the internal memory are used to disclose a known technique disclosed in Japanese Patent Application Laid-Open No. 60-37513. By performing a correlation operation, a relative lateral shift amount (SHIFT) of the pair of subject images on the CCD 25 in FIG. 2 and a parameter (SLOP) indicating the reliability of the obtained lateral shift amount are obtained. FIG.
4, a well-known correlation calculation will be briefly described with reference to FIG. First, the correlation operation of equation (1) is performed to obtain the correlation amount C (L) between the CCD data.

【数1】 ただし(1)式においてLは整数であり一対のCCDデ
ータの受光素子ピッチを単位とした場合の相対的シフト
量である。又(1)式の積算演算はCCDデータが存在
する範囲で実行するものとする。
(Equation 1) However, in the equation (1), L is an integer and is a relative shift amount in a case where a light receiving element pitch of a pair of CCD data is used as a unit. Further, it is assumed that the integration operation of the expression (1) is executed in a range where CCD data exists.

【0042】(1)式の演算結果は、図14において相
対的シフト量Lを横軸に取りかつ相関量C(L)を縦軸
に取って示すように、1対のCCDデータの相関が高い
シフト量Lにおいて相関量C(L)が最小になる。とこ
ろが実際上当該相対的シフト量Lは受光部29A、29
Bを構成する受光素子から離散的に得られるデータに基
づいて決まるので、相関量C(L)も離散的になる。そ
こで演算により求めた相関量C(L)から必ずしも直接
に相関量C(L)の最小素値C(L)MIN が得られると
は限らない。そこで図15に示す3点内挿の手法を用い
て相関量C(L)の最小値C(L)MIN を求める。すな
わち離散的に求められた相関量C(L)における最小値
が相対的シフト量LがL=xのとき得られたとすると、
その前後の相対的シフト量x−1、x+1に対応する相
関量C(L)はC(x−1)、C(x)、C(x+1)
になる。そこで先ず最小相関量C(x)と、残る2個の
相関量C(x−1)及びC(x+1)のうち大きい相関
量(図9の場合C(x+1))とを結ぶ直線Hを引き、
次に残る相関量C(x−1)を通りかつ直線Hと傾きが
反対な直線Jを引いてこれら2つの直線H及びJの交点
Wを求める。この交点Wの座標は相対的シフト量x
m と、その相関量C(xm )とで表すことができ、この
座標によって連続的な相対的シフト量における最小相対
的シフト量xm と最小相関量C(xm )を表すことがで
きる。かかる3点内挿手法を演算式で表せば、最小相対
的シスト量xm は次式
The calculation result of the equation (1) indicates that the correlation between a pair of CCD data is as shown in FIG. At a high shift amount L, the correlation amount C (L) is minimized. However, the relative shift amount L is actually equal to the light receiving units 29A, 29A.
Since it is determined based on data discretely obtained from the light receiving elements constituting B, the correlation amount C (L) also becomes discrete. Therefore, the minimum prime value C (L) MIN of the correlation amount C (L) is not always directly obtained from the correlation amount C (L) obtained by the calculation. Therefore, the minimum value C (L) MIN of the correlation amount C (L) is obtained by using the three-point interpolation method shown in FIG. That is, if the minimum value of the discretely obtained correlation amount C (L) is obtained when the relative shift amount L is L = x,
Correlation amounts C (L) corresponding to the relative shift amounts x-1 and x + 1 before and after that are C (x-1), C (x), and C (x + 1).
become. Therefore, first, a straight line H connecting the minimum correlation amount C (x) and the larger correlation amount (C (x + 1) in FIG. 9) among the remaining two correlation amounts C (x−1) and C (x + 1) is drawn. ,
Then, a straight line J passing through the remaining correlation amount C (x-1) and having a slope opposite to the straight line H is drawn to obtain an intersection W between these two straight lines H and J. The coordinates of this intersection W are the relative shift amount x
m and the correlation amount C (x m ), and the coordinates can represent the minimum relative shift amount x m and the minimum correlation amount C (x m ) in the continuous relative shift amount. . If such a three-point interpolation method is expressed by an arithmetic expression, the minimum relative cyst amount x m is given by the following expression.

【数2】 のように表すことができると共に、その相関量C
(xm )は次式
(Equation 2) And the correlation amount C
(X m ) is

【数3】 のように表すことができる。(Equation 3) Can be expressed as

【0043】ここで(2−1)及び(2−2)式におい
てDは、相対的シフト量・・・x−1、x、x+1・・
・の各データ間の偏差で次式
Here, in the expressions (2-1) and (2-2), D is a relative shift amount... X-1, x, x + 1.
・ The following equation is the deviation between each data

【数4】 のように表すことができる。また(2−1)及び(2−
2)式においてSLOPは相対的シフト量x−1、x、
x+1に対応する相関量C(x−1)、C(x)、C
(x+1)間の偏差のうち大きい方の偏差を表し、次式 SLOP=MAX(C(x+1)−C(x),C(x−1)−C(x)) …(4) のように表すことができる。
(Equation 4) Can be expressed as Also, (2-1) and (2-
In the equation (2), SLOP is a relative shift amount x-1, x,
Correlation amounts C (x-1), C (x), C corresponding to x + 1
The larger deviation among the deviations between (x + 1) is represented by the following expression: SLOP = MAX (C (x + 1) -C (x), C (x-1) -C (x)) (4) Can be represented.

【0044】(1)式〜(4)式で表される演算式は、
相対的シフト量xm が1対のCCDデータの相対的ずれ
量を表し、受光素子のピッチをyとすれば、CCD25
上に結像される2つの被写体像の相対的な横ずれ量SH
IFTは SHIFT=y×xm …(5) のように表すことができる。また焦点面におけるデフォ
ーカス量DEFは次式 DEF=KX×SHIFT …(6) のように表すことができる。ここで、KXは図2に示し
た焦点検出光学系の構成上の条件などによって決まる係
数である。又(4)式で求めたパラメータSLOPはそ
の値が大きい程図14で示す相関量C(L)のへこみが
深く即ち相関が大きいことを示し従って求められたデフ
ォーカス量DEFの信頼性が高いことを示している。再
び図13に戻り説明を続ける。#360で以上のように
してシフト量(SHIFT)及び信頼性(SLOP)を
求める。#365ではシフト量(SHIFT)が求まっ
たかテストする。即ち図14において最大シフト量(図
では5)までシフト量Lをずらしてもへこみが見つから
なかった場合にはシフト量(SHIFT)を求めること
はできない。#365でシフト量(SHIFT)が求ま
らなかった場合には#385に進む。#365でシフト
量が求まった場合には、#370で求められるデフォー
カス量(DEF)の信頼性が有するか(SLOPが所定
値SX以上あるか)否かテストし、無いと判定された場
合には#385に進む。#370で信頼性が有ると判定
された場合には、#375でローコンフラグ(LOCF
LG)をリセット(OFF)にして焦点検出が不能でな
いとし、#380では求められたシフト量(SHIF
T)から(6)式によってデフォーカス量(DEF)を
求めて次の(6)レンズ情報読み込みモジュールに進む。
1方#365でシフト量が求まらなかったと判定された
場合あるいは#370で信頼性がないと判定された場合
は、#385に進み、ローコンフラグ(LOCFLG)
をセット(ON)にして焦点検出不能だったとし、次の
(6)レンズ情報読み込みモジュールに進む。
The arithmetic expressions represented by the expressions (1) to (4) are as follows:
The relative shift amount x m represents the relative shift amount of a pair of CCD data, and if the pitch of the light receiving elements is y, the CCD 25
Relative lateral shift SH between two subject images formed on the top
IFT can be expressed as SHIFT = y × x m (5). The defocus amount DEF on the focal plane can be expressed by the following equation: DEF = KX × SHIFT (6) Here, KX is a coefficient determined by the configuration conditions of the focus detection optical system shown in FIG. The larger the value of the parameter SLOP obtained by the equation (4), the deeper the depression of the correlation amount C (L) shown in FIG. 14, that is, the larger the correlation. Therefore, the reliability of the obtained defocus amount DEF is high. It is shown that. Returning to FIG. 13 again, the description will be continued. In step # 360, the shift amount (SHIFT) and the reliability (SLOP) are obtained as described above. In # 365, it is tested whether or not the shift amount (SHIFT) has been obtained. That is, if no dent is found even if the shift amount L is shifted to the maximum shift amount (5 in the figure) in FIG. 14, the shift amount (SHIFT) cannot be obtained. If the shift amount (SHIFT) is not determined in # 365, the process proceeds to # 385. When the shift amount is obtained in # 365, it is tested whether the defocus amount (DEF) obtained in # 370 is reliable (SLOP is equal to or more than a predetermined value SX), and it is determined that there is no shift amount. Go to # 385. If it is determined that there is reliability in # 370, the low contrast flag (LOCF) is determined in # 375.
LG) is reset (OFF) and focus detection is not disabled, and in # 380, the obtained shift amount (SHIF) is determined.
From (T), the defocus amount (DEF) is obtained by equation (6), and the process proceeds to the next (6) lens information reading module.
On the other hand, if it is determined in # 365 that the shift amount has not been determined, or if it is determined in # 370 that there is no reliability, the process proceeds to # 385 and the low contrast flag (LOCFLG) is set.
Is set (ON), it is determined that the focus cannot be detected, and the process proceeds to the next (6) lens information reading module.

【0045】図16は(6)レンズ情報読み込みモジュー
ルのフローチャートである。#390で図1の通信バス
64を通じてレンズCPU13と通信を行ないAFCP
Uが必要とするレンズAF情報を取り込み、内部メモリ
に格納する。例えばデフォーカス量(DEF)をパルス
数に変換する時に必要なパルス変換係数KL、レンズの
焦点距離FL、AF可能なレンズであるか否かの情報等
のデータがレンズCPU13からAFCPUに送られ
る。#395では取り込んだレンズ情報に基づき装着さ
れているレンズがAFレンズ(AF可能なレンズ)であ
るかテストし、AFレンズと判定されると、#405で
AFレンズフラグ(AFLFLG)をセット(ON)
し、(7)追尾アルゴリズムに進む。又#395でAFレ
ンズでないと判定されると#400でAFレンズフラグ
をリセット(OFF)して、次の(7)追尾アルゴリズム
に進む。
FIG. 16 is a flowchart of the (6) lens information reading module. In step # 390, communication with the lens CPU 13 is performed through the communication bus 64 of FIG.
The lens AF information required by U is fetched and stored in the internal memory. For example, the lens CPU 13 sends data such as a pulse conversion coefficient KL required when converting the defocus amount (DEF) to the number of pulses, a focal length FL of the lens, and information on whether or not the lens is AF-capable from the lens CPU 13 to the AF CPU. In step # 395, it is tested whether the attached lens is an AF lens (an AF-enabled lens) based on the acquired lens information. If it is determined that the lens is an AF lens, in step # 405, an AF lens flag (AFLFLG) is set (ON). )
Then, proceed to (7) tracking algorithm. If it is determined that the AF lens is not the AF lens in # 395, the AF lens flag is reset (OFF) in # 400, and the process proceeds to the next (7) tracking algorithm.

【0046】図17は(7)追尾アルゴリズムモジュール
のフローチャートである。#410〜#425のブロッ
クはレリーズボタン全押中におけるショット回数をカウ
ントするためのブロックであり、#410でリレーズボ
タン信号(RB)が全押し(ON)であるかテストし、
全押しでない場合は#425でショットカウンタ(PC
OUNT)を0にクリアして#430へ進む。一方#4
10で全押しであった場合には、#415で更にショッ
ト回数が3未満(PCOUNT<3)であるかテスト
し、3未満でない即ち3以上の場合はショット回数はそ
のままにしておいて#430へ進む。#415で3未満
であった場合には#420へ進みショット回数に1を加
算(PCOUNT=PCOUNT+1)する。又ション
トカウンタ(PCOUNT)のデータは追尾モードにお
いてのみ後述の追尾判定等に使用される。追尾モードに
おいて全押中は撮影動作間に必ず一度CCD蓄積及び焦
点検出動作が確保されており撮影動作間に必ず1度(7)
追尾アルゴリズムモジュールが実行されるので、上述の
#410から#425のブロックによりショット数がカ
ウントされることになる。#430から#515までの
ブロックは追尾モードにおける追尾動作を行なうか否か
の判定を行なうブロックである。
FIG. 17 is a flowchart of the tracking algorithm module (7). Blocks # 410 to # 425 are used to count the number of shots when the release button is fully pressed. At # 410, a test is performed to determine whether the relay button signal (RB) is fully pressed (ON).
If it is not fully pressed, the shot counter (PC
ENT) is cleared to 0, and the flow advances to # 430. # 4
If it is determined that the number of shots has been fully pressed in step # 10, it is further tested in step # 415 whether the number of shots is less than 3 (PCOUNT <3). Proceed to. If it is less than 3 in # 415, the process proceeds to # 420, and 1 is added to the number of shots (PCOUNT = PCOUNT + 1). The data of the shot counter (PCOUNT) is used only in the tracking mode for tracking determination and the like described later. In the tracking mode, during full press, CCD accumulation and focus detection are always ensured once during the shooting operation, and once during the shooting operation (7)
Since the tracking algorithm module is executed, the number of shots is counted by the blocks # 410 to # 425 described above. Blocks # 430 to # 515 are blocks for determining whether or not to perform the tracking operation in the tracking mode.

【0047】追尾動作を行なう条件を表5にまとめて示
す。以下順を追って追尾動作の判定について説明する。
#430では現在追尾モードであるか(PMDFLG
ON)テストする。尚追尾モードフラグ(PMDFL
G)は後述するタイマー割込処理においてフォーカスモ
ード及び駒速モードの組み合わせを定期的に調べて更新
される。#430で追尾モードでなかった場合は追尾動
作を行なわず#545へ進む。#430で追尾モードだ
った場合は#435で焦点検出不能であるか(LOCF
LG ON)テストする。焦点検出不能であった場合に
は追尾動作を行なわず#545へ進む。#435で焦点
検出が可能であった場合は#440へ進み求められたデ
フォーカス量(DEF)の信頼性があるか即ち(4)式
で求めた信頼性を表わすパラメータSLOPが所定値S
Z以上であるかテストする。もちろん所定値SZは#3
65で用いた所定値SXよりは大きい値を持つ。#44
0で信頼性がないと判定された場合は追尾動作を行なわ
ず#545へ進む。このような判定を行なう理由は、信
頼性がない場合は求められたデフォーカス量DEFも誤
差を多く含み、このまま後述する追尾動作を行なうと撮
影レンズが静的被写体に対しても不安定動作(ハンチン
グ等)を起こしてしまうので、このような不安定動作を
未然に防ぐためである。#440では(4)式で求めた
パラメータSLOPの値により信頼性を判定している
が、これら限られることはなく信頼性を判定できる処理
であればかまわない。例えば(7)式で求めるコントラ
スト情報CONTと所定値との大小を比較して信頼性を
判定するようにしてもよい。
Table 5 summarizes the conditions for performing the tracking operation. Hereinafter, the determination of the tracking operation will be described in order.
In # 430, is the tracking mode currently set (PMDFLG
ON) Test. Note that the tracking mode flag (PMDFL
G) is updated by periodically examining the combination of the focus mode and the frame speed mode in the timer interrupt processing described later. If the mode is not the tracking mode in # 430, the process proceeds to # 545 without performing the tracking operation. If the tracking mode is set in # 430, whether focus detection is impossible in # 435 (LOCF
LG ON) Test. If the focus cannot be detected, the process proceeds to step # 545 without performing the tracking operation. If the focus detection is possible in step # 435, the flow advances to step # 440 to determine whether the obtained defocus amount (DEF) is reliable, that is, the parameter SLOP representing the reliability obtained by equation (4) is equal to the predetermined value S.
Test for Z or greater. Of course, the predetermined value SZ is # 3
65 has a value larger than the predetermined value SX used. # 44
When it is determined that the reliability is not 0 and the tracking operation is not performed, the process proceeds to # 545. The reason for making such a determination is that if there is no reliability, the obtained defocus amount DEF also contains a large amount of error, and if the tracking operation described below is performed as it is, the photographing lens will be unstable even for a static subject ( This is to prevent such unstable operation from occurring since hunting occurs. In step # 440, the reliability is determined based on the value of the parameter SLOP obtained by the equation (4). However, the present invention is not limited to this, and any process that can determine the reliability may be used. For example, the reliability may be determined by comparing the magnitude of the contrast information CONT obtained by Expression (7) with a predetermined value.

【数5】 (7)式においてA(i)はCCDデータ、lは所定の
整数である。#440で信頼性があると判定された場合
には、#445へ進み、スキャン中(SCAFLG O
N)かテストする。#445でスキャン中と判定される
と追尾動作を行なわず#545へ進む。
(Equation 5) In the equation (7), A (i) is CCD data, and l is a predetermined integer. If it is determined in step # 440 that there is reliability, the process proceeds to step # 445, and scanning is being performed (SCAFLG O
N) or test. If it is determined in step # 445 that a scan is being performed, the process proceeds to step # 545 without performing the tracking operation.

【0048】スキャン中に求めたデフォーカス量は、撮
影レンズを駆動中にCCD蓄積を行ったCCDデータに
基づいて求められたデフォーカス量なので誤差を多く含
んでおり、このフォーカス量に基づいて追尾動作を行な
うと不安定動作を起こし易くなる。#445はこのよう
な不具合を防ぐための判定である。#445でスキャン
中でない場合には、#450へ進み前回駆動を行った
(DRVFLGがON)かテストし駆動を行なわなかっ
た場合には追尾動作を行なわず#545へジャンプす
る。その理由は追尾動作は後述するように撮影レンズが
動いたという仮定のもとに追尾補正量を加えて補正する
動作なので、撮影レンズが静止している状態からいきな
り追尾動作を行なうと追尾補正がうまく働らかず動作が
不安定になってしまうためである。従って撮影レンズが
静止している状態から追尾動作に移る間に必ず一回通常
の駆動(追尾補正をしない駆動)が入ることになり、不
安定動作を防ぐことができる。#450で前回駆動した
と判定された場合は、#455へ移り、前回の駆動が駆
動方向が反転してから最初の駆動(REVFLGがO
N)であるかテストする。
The defocus amount obtained during scanning is a defocus amount obtained based on the CCD data obtained by accumulating the CCD while the photographing lens is being driven. Therefore, the defocus amount includes many errors. Performing the operation tends to cause unstable operation. # 445 is a determination for preventing such a problem. If the scanning is not being performed in # 445, the flow proceeds to # 450 to test whether the previous driving was performed (DRVFLG is ON), and if the driving was not performed, the control jumps to # 545 without performing the tracking operation. The reason for this is that the tracking operation is an operation that adds a tracking correction amount based on the assumption that the shooting lens has moved, as described later, so if the tracking operation is performed immediately from the state where the shooting lens is stationary, the tracking correction will be performed. This is because the operation does not work well and the operation becomes unstable. Therefore, the normal drive (drive without tracking correction) is always performed once during the transition from the state where the photographing lens is stationary to the tracking operation, and unstable operation can be prevented. If it is determined in # 450 that the previous driving has been performed, the process proceeds to # 455, and the first driving (REVFLG becomes O) after the previous driving has reversed the driving direction.
N).

【0049】駆動反転プラグ(REVFLG)は後述す
る(10) 駆動制御モジュールにおいて駆動方向が反転し
た時にセットされるフラグである。前回の駆動が駆動方
向が反転してから最初の駆動であると判定されると追尾
動作を行なわず#545へジャンプする。図18を用い
て#455の分岐の理由を説明する。図18(A)は#
455の判定がない場合の撮影レンズの動きを示す図で
あって、実線は静止している被写体に対してその被写体
像をフィルム面に一致させるための撮影レンズの位置
(合焦位置)を示し、2点鎖線は実際の撮影レンズの動
きを示している。撮影レンズのデフォーカスしている位
置から駆動D0により合焦位置に近づき誤差のため合焦
点を通りすぎて停止した場合、この位置で求めたデフォ
ーカス量がDEF0となった。次にこの位置よりデフォ
ーカス量DEF0に基づいて合焦位置へ向って駆動D1
を行なうがこの駆動D1は反転後初めての駆動のため、
図1のボディ伝達系51及びレンズ伝達系12のバック
ラッシュにより破線のように合焦位置までは駆動せずに
合焦位置よりバックラッシュ分離れた位置で停止する。
この位置で求めたデフォーカス量がDEF1になると、
前回駆動行ったにもかかわらず合焦位置に到達しなかっ
たので追尾動作に入り次回の駆動D2の駆動量はデフォ
ーカス量DEF1の2倍に相当するものになり、合焦位
置を通りすぎてしまう。これ以降も同様な動作をくり返
し合焦位置付近でハンチングを起こすことになる。
The drive inversion plug (REVFLG) is a flag that is set when the drive direction is inverted in the drive control module (10) described later. If it is determined that the previous driving is the first driving after the driving direction is reversed, the control jumps to # 545 without performing the tracking operation. The reason for branching at # 455 will be described with reference to FIG. FIG.
FIG. 9 is a diagram illustrating the movement of the photographing lens when there is no determination of 455, and a solid line indicates a position (focusing position) of the photographing lens for making a subject image coincide with a film surface with respect to a stationary subject. The two-dot chain line indicates the actual movement of the photographing lens. When the drive D0 approaches the focus position from the defocused position of the photographing lens and stops after passing through the focus point due to an error, the defocus amount obtained at this position is DEF0. Next, drive D1 is performed from this position toward the in-focus position based on the defocus amount DEF0.
However, since this drive D1 is the first drive after inversion,
Due to the backlash of the body transmission system 51 and the lens transmission system 12 in FIG. 1, as shown by the broken line, the lens is not driven to the in-focus position but stopped at a position separated from the in-focus position by backlash.
When the defocus amount obtained at this position becomes DEF1,
Since the in-focus position has not been reached despite the previous driving, the tracking operation is started, and the drive amount of the next drive D2 is equivalent to twice the defocus amount DEF1, and has passed the in-focus position. I will. After that, the same operation is repeated, and hunting occurs near the in-focus position.

【0050】一方図18(B)の場合は、反転後2回目
の駆動D2の際には、追尾動作を行なわないので駆動量
はデフォーカス量DEF1に相当するものとなり合焦位
置へ到達することができる。上述の説明では撮影レンズ
の駆動方向が反転した際には反転後2回の駆動は追尾動
作を禁止しているが2回に限られることはなく2回以上
の所定回数であればよい。又反転後初回の駆動において
所定量以上の駆動が行なわれた場合には2回目の駆動に
おいて追尾動作を許可するようにしてもよいし、反転後
の累積駆動量が所定量以上となったら追尾動作を許可す
るようにしてもよい。又反転後所定時間の間追尾動作を
禁止するようにしてもよい。以上した説明したように#
455の処理は、駆動反転時のバックラッシュによる不
安定動作を防止するための処理である。#455で前回
の駆動が駆動方向が反転してから最初の駆動でないと判
定されると#460に進み現在追尾中(PRSFLGが
ON)であるかテストする。追尾中フラグは後述するよ
うに追尾動作を行なう即ち動的被写体だと判定して静的
被写体に対するデフォーカス量に追尾補正量を加えた追
尾駆動量によって駆動を行なう際にセット(ON)され
る。#460で追尾中でない場合には、#465で追尾
補正量(COMP)を0にクリアして#480へ進む。
#460で追尾中と判定された場合には、#470に進
み今回求められたデフォーカス量(DEF)と前回の追
尾デフォーカス量(PLST)の符号が同符号であるか
テストする。同符号であった場合には#480に進み、
異符号であった場合には#475に進みデフォーカス量
の絶対値(|DEF|)が所定値DXより大きいかテス
トする。#475で大きいと判定された場合には、追尾
動作を行なわずに#545へジャンプする。#475で
小さいと判定された場合には、#480へ進む。#47
0から#475の処理は追尾動作の終了時の応答を速く
するための処理であって、図19を用いてこれを説明す
る。
On the other hand, in the case of FIG. 18B, since the tracking operation is not performed in the second driving D2 after the reversal, the driving amount corresponds to the defocus amount DEF1 and reaches the in-focus position. Can be. In the above description, when the driving direction of the photographing lens is reversed, the two driving operations after the reversal are prohibited from performing the tracking operation. However, the driving operation is not limited to two times and may be any predetermined number of times. In addition, if a predetermined amount or more of drive is performed in the first drive after the inversion, the tracking operation may be permitted in the second drive, or the tracking may be performed if the accumulated drive amount after the inversion becomes a predetermined amount or more. The operation may be permitted. The tracking operation may be prohibited for a predetermined time after the reversal. As explained above #
The process 455 is a process for preventing unstable operation due to backlash at the time of drive inversion. If it is determined in # 455 that the previous drive is not the first drive after the drive direction has been reversed, the flow proceeds to # 460 to test whether the vehicle is currently being tracked (PRSFLG is ON). The tracking-in-progress flag is set (ON) when a tracking operation is performed as described later, that is, when it is determined that the object is a dynamic object and driving is performed by a tracking drive amount obtained by adding a tracking correction amount to a defocus amount for a static object. . If tracking is not being performed in # 460, the tracking correction amount (COMP) is cleared to 0 in # 465, and the process proceeds to # 480.
If it is determined in step # 460 that tracking is being performed, the flow advances to step # 470 to test whether the sign of the defocus amount (DEF) obtained this time and the sign of the previous tracking defocus amount (PLST) are the same. If it is the same sign, proceed to # 480,
If the signs are different, the process proceeds to step # 475 to test whether the absolute value (| DEF |) of the defocus amount is larger than the predetermined value DX. If it is determined in step # 475 that it is large, the process jumps to step # 545 without performing the tracking operation. If it is determined in step # 475 that the size is small, the process proceeds to step # 480. # 47
The processes from 0 to # 475 are processes for speeding up the response at the end of the tracking operation, which will be described with reference to FIG.

【0051】図19において実線は被写体に対する被写
体像をフィルム面に一致させるための撮影レンズ位置の
理想的な軌跡であり、1点鎖線は実際の撮影レンズの動
きの軌跡である。レリーズの行なわれる以前の追尾動作
においては後述するように動的被写体に対しても焦点検
出結果であるデフォーカス量(DEF)が0になるよう
に追尾補正を行って駆動をしている。従ってCCDの蓄
積時間の中点において実線と一点鎖線が交わるように動
作が行なわれる。(図は駆動終了後即ち蓄積時間がほと
んど0の蓄積を行ったと仮定して描いたものである。)
追尾動作中に被写体が急停止した場合図19に示すよう
に前回の追尾デフォーカス量(PLST)と今回のデフ
ォーカス量(DEF)の符号は反転するとともにその絶
対値はかなり大きくなる。
In FIG. 19, the solid line is an ideal locus of the photographing lens position for making the subject image coincide with the film surface with respect to the subject, and the one-dot chain line is the actual locus of the movement of the photographing lens. In the tracking operation before the release is performed, tracking correction is performed so that the defocus amount (DEF), which is the focus detection result, becomes 0 with respect to the dynamic subject, as described later, and driving is performed. Therefore, the operation is performed so that the solid line and the dashed line intersect at the middle point of the accumulation time of the CCD. (The drawing is drawn assuming that the accumulation has been performed after the driving is completed, that is, the accumulation time is almost zero.)
When the subject stops suddenly during the tracking operation, as shown in FIG. 19, the sign of the previous tracking defocus amount (PLST) and the current defocus amount (DEF) are inverted and the absolute values thereof are considerably large.

【0052】しかしこのような場合でも今回の追尾デフ
ォーカス量(PRED)は今回のデフォーカス量(DE
F)に追尾補正量(COMP)を加えたものになり、前
回の追尾デフォーカス量(PLST)と同符号で同程度
の大きさになってしまうので後述する#480から#5
15の判定処理においても追尾不可と判定されることが
なく追尾動作に入ってしまい、図19に破線で示す如く
撮影レンズは合焦位置から更にオーバランしてしまう。
そこで#470、#475によりこのような場合には追
尾動作に入らないようにしており図19の示すように1
度合焦位置を通りすぎると追尾動作を行なわずに次の駆
動では即ち合焦位置に到達することができることにな
る。#480では今回の追尾デフォーカス量(PRE
D)を今回のデフォーカス量(DEF)と前回の追尾補
正量(COMP)の和として計算を行なう。#485で
は今回の追尾デフォーカス量(PRED)との符号と前
回の追尾デフォーカス量(PLST)の符号が同符号で
あるかテストし、異符号の場合は追尾動作を行なわずに
#545へジャンプする。これは追尾の方向が反転した
ときは一旦追尾動作から抜けて通常の駆動を行なうこと
により、被写体の動きの反転した時に不安定動作(ハン
チング、オーバーラン等)をしないようにするためであ
る。#485で同符号の場合には#490へ進み、今回
の追尾デフォーカス量(PRED)と前回の追尾デフォ
ーカス量(PLST)の和の絶対値(|PRED+PL
ST|)が所定値δ(例えば200μm)以上であるか
テストする。所定値δ以下であった場合は追尾動作を行
なわずに#545へジャンプする。#490の処理は、
合焦位置近傍では追尾デフォーカス量とそれに含まれる
誤差値が同程度になりこれを用いて追尾動作を行なうと
合焦位置近傍で不安定動作(ハンチング、オーバーラン
等)を起こしてしまうので、これを防止することを目的
としている。所定値δは実験的に一定値に決定したり、
種々の条件(レンズ焦点距離、追尾中か否か、デフォー
カス量の信頼度等)に応じて変えることもできる。
However, even in such a case, the current tracking defocus amount (PRED) is equal to the current defocus amount (DED).
F) to which the tracking correction amount (COMP) has been added, which is the same sign and the same size as the previous tracking defocus amount (PLST).
Even in the determination processing of No. 15, the tracking operation is started without determining that tracking is impossible, and the photographing lens further overruns from the in-focus position as shown by a broken line in FIG.
Therefore, in such a case, the tracking operation is not performed by # 470 and # 475, and as shown in FIG.
If the camera has passed the focusing position, it is possible to reach the focusing position in the next drive without performing the tracking operation. In # 480, the current tracking defocus amount (PRE
D) is calculated as the sum of the current defocus amount (DEF) and the previous tracking correction amount (COMP). In # 485, it is tested whether the sign of the current tracking defocus amount (PRED) and the sign of the previous tracking defocus amount (PLST) are the same sign. If the sign is different, the process proceeds to # 545 without performing the tracking operation. Jump. This is because, when the tracking direction is reversed, the tracking operation is temporarily stopped to perform normal driving, so that unstable operation (hunting, overrun, etc.) is prevented when the movement of the subject is reversed. In the case of the same sign in # 485, the process proceeds to # 490, and the absolute value (| PRED + PL) of the sum of the current tracking defocus amount (PRED) and the previous tracking defocus amount (PLST)
ST |) is greater than or equal to a predetermined value δ (for example, 200 μm). If the value is equal to or smaller than the predetermined value δ, the process jumps to # 545 without performing the tracking operation. The process of # 490 is
In the vicinity of the focus position, the tracking defocus amount and the error value included in the tracking defocus amount are substantially the same, and if a tracking operation is performed using this, an unstable operation (hunting, overrun, etc.) occurs near the focus position. The purpose is to prevent this. The predetermined value δ is experimentally determined to be a constant value,
It can also be changed according to various conditions (lens focal length, whether tracking is in progress, reliability of defocus amount, etc.).

【0053】特に安定性を確保するために追尾中には所
定値δ1、非追尾中には所定値δ2(>δ1)とヒステ
リシスを設けることは有効である。#490のかわりに
今回の追尾デフォーカス量(PRED)の絶対値の大き
さだけで追尾可否を判定することも可能であるが、#4
90のように前回の追尾デフォーカス量(PLST)と
の和を取ることによって追尾デフォーカス量に含まれる
誤差の影響を軽減し、より安定な追尾動作を保証するこ
とができる。#490で所定値δ以上あると判定される
と#495へ進む。#495から#515の処理は、今
回の追尾デフォーカス量(PRED)と前回の追尾デフ
ォーカス量(PLST)との比に応じて追尾動作の可否
を判定する処理である。前述したように追尾動作中はデ
フォーカス量(DEF)はほぼ0になり追尾補正量CO
MPはほぼ一定になる。従って今回の追尾デフォーカス
量(PRED)と前回の追尾デフォーカス量(PLS
T)との比は理想的にはほぼ1となる。追尾補正は被写
体がほぼ一定速度で運動していると仮定して行なう補正
であり、被写体の速度が急変した場合にもこのような追
尾補正を行なうと不安定動作(ハンチング、オーバーラ
ン等)を起こす可能性がある。被写体の速度が変わると
それに応じて追尾デフォーカス量の値も変化するので、
今回と前回の追尾デフォーカス量の比の値も1から大き
くなったり小さくなったりする。
In particular, it is effective to provide a predetermined value δ1 during tracking and a predetermined value δ2 (> δ1) during non-tracking in order to ensure stability. It is also possible to determine whether tracking is possible only by the absolute value of the current tracking defocus amount (PRED) instead of # 490, but # 4
By taking the sum with the previous tracking defocus amount (PLST) as in 90, the influence of an error included in the tracking defocus amount can be reduced, and a more stable tracking operation can be guaranteed. If it is determined in step # 490 that the value is equal to or larger than the predetermined value δ, the process proceeds to step # 495. The processes of # 495 to # 515 are processes for determining whether or not the tracking operation is possible according to the ratio between the current tracking defocus amount (PRED) and the previous tracking defocus amount (PLST). As described above, during the tracking operation, the defocus amount (DEF) becomes almost 0 and the tracking correction amount CO
MP becomes almost constant. Therefore, the current tracking defocus amount (PRED) and the previous tracking defocus amount (PLS)
The ratio to T) is ideally approximately 1. Tracking correction is a correction performed on the assumption that the subject is moving at a substantially constant speed. Even if the speed of the subject changes suddenly, such tracking correction may cause unstable operation (hunting, overrun, etc.). May cause. When the speed of the subject changes, the value of the tracking defocus amount changes accordingly.
The value of the ratio between the current and previous tracking defocus amounts also increases or decreases from 1.

【0054】そこで#495から#515の処理ではこ
の比が1を含む一定範囲の値になっている場合のみ追尾
動作を行なうようにして、被写体速度の急変による不安
定動作を防止している。#495から#505ではショ
ットカウンタ(PCOUNT)の値によって比の上限
(r)の値を変えている。この理由を図20を用いて説
明する。図において実線は動いている被写体に対して被
写体像をフィルム面と一致させるために必要な撮影レン
ズの動きの軌跡であり、一点鎖線は追尾動作時の実際の
撮影レンズの動きの軌跡である。全押し以前においては
AFCPUはCCDの蓄積及び焦点検出演算の動作とA
Fモータの駆動動作をくり返しており、その周期はほぼ
F0で一定してありショットカウンタ(PCOUNT)
の値は0になっている。全押し以降はショットカウンタ
(PCOUNT)は1になり駆動動作の後に撮影動作が
行なわれる。撮影動作が行なわれる以前には駆動終了後
即ちCCDの蓄積が行なわれたのに対し、全押以降は撮
影動作後にCCDの蓄積が行なわれるので、全押以前の
デフォーカス量はほぼ0であり全押以降初めのデフォー
カス量(DEF2)は大きな値となる。従って初回の撮
影動作後に初めて行なわれる(7)追尾アルゴリズムモジ
ュールの処理においては即ちショット回数が2回目(P
COUNT=2)の時は、前述の今回の追尾デフォーカ
ス量(PRED)は前回の追尾デフォーカス量(PLS
T)より大きくなるので、その比(r)の上限も大きく
取らないと追尾動作から不要にはずれてしまう。従って
ショットカウンタが2(PCOUNT=2)の場合に限
り比の上限(r)を通常の値(RS)より大きな値(R
L、RL>RS)にしている。
Therefore, in the processing from # 495 to # 515, the tracking operation is performed only when the ratio is within a certain range including 1 to prevent the unstable operation due to a sudden change in the object speed. In steps # 495 to # 505, the value of the upper limit (r) of the ratio is changed depending on the value of the shot counter (PCOUNT). The reason will be described with reference to FIG. In the figure, the solid line is the locus of the movement of the photographing lens required to match the image of the moving object with the film surface, and the chain line is the locus of the actual movement of the photographing lens during the tracking operation. Before the full press, the AFCPU operates the CCD accumulation and focus detection calculation
The driving operation of the F motor is repeated, and the cycle is almost constant at F0, and the shot counter (PCOUNT)
Is 0. After full press, the shot counter (PCOUNT) becomes 1, and the photographing operation is performed after the driving operation. Before the photographing operation is performed, the driving is completed, that is, the CCD is accumulated. On the other hand, after the full press, the CCD is accumulated after the photographing operation. Therefore, the defocus amount before the full press is almost zero. The initial defocus amount (DEF2) after full pressing has a large value. Therefore, in the processing of the tracking algorithm module performed for the first time after the first photographing operation (7), that is, the number of shots is the second (P
When COUNT = 2), the above-described tracking defocus amount (PRED) at this time is equal to the previous tracking defocus amount (PLS).
T), the tracking operation is unnecessarily deviated unless the upper limit of the ratio (r) is set too large. Therefore, only when the shot counter is 2 (PCOUNT = 2), the upper limit (r) of the ratio is set to a value (R) larger than the normal value (RS).
L, RL> RS).

【0055】以上が#495から#505の処理の内容
であり#495で第1回目の撮影動作(レリーズ)後で
あるかテストし、第1回目(PCOUNT=2)でない
場合は、#505に進み比の上限の値(r)を所定値R
S(例えば3)にし、#510に進む。第1回目(PC
OUNT=2)の場合は#500へ進み、比の上限の値
(r)を所定値RL(例えば6)にし#510に進む。
#510では前述のように今回の追尾デフォーカス量の
絶対値(|PRED|)が前回の追尾デフォーカス量の
絶対値(|PLST|)のr倍以下であるかテストし、
r倍以下でない場合には追尾不可と判定して追尾動作を
行なわず#545へジャンプする。r倍以下だった場合
は#545へ進み、今回の追尾デフォーカス量の絶対値
(|PRED|)と前回の追尾デフォーカス量の絶対値
(|PLST|)の所定値K(例えば1/2)倍以上である
かテストする。K倍以上でなかった場合は追尾不可とし
て追尾動作を行なわず#545へジャンプする。K倍以
上であった場合は追尾可として#520へ進む。前述の
#490、#510、#515の判定処理における比較
パラメータδ、r、kは所定値として説明を行ったが、
追尾中か否かに応じて所定巾のヒステリシスをこれらの
パラメータに設けてもよい。ヒステリシスは追尾動作中
は追尾動作を抜けにくく又追尾動作外の時に追尾動作に
入りにくくするように設定する。
The above is the contents of the processing from # 495 to # 505. In # 495, it is tested whether or not after the first photographing operation (release). If it is not the first time (PCOUNT = 2), the processing proceeds to # 505. The upper limit value (r) of the advance ratio is set to a predetermined value R.
S (for example, 3), and the process proceeds to # 510. The first (PC
If OUNT = 2), the process proceeds to # 500, where the upper limit value (r) of the ratio is set to a predetermined value RL (for example, 6), and the process proceeds to # 510.
In # 510, as described above, it is tested whether the absolute value (| PRED |) of the current tracking defocus amount is r times or less of the absolute value (| PLST |) of the previous tracking defocus amount.
If it is not r times or less, it is determined that tracking is impossible, and the routine jumps to # 545 without performing the tracking operation. If it is less than r times, the process proceeds to # 545, where a predetermined value K (for example, 1/2) of the absolute value of the current tracking defocus amount (| PRED |) and the previous absolute value of the tracking defocus amount (| PLST |) Test if it is more than twice. If it is not K times or more, it is determined that tracking is impossible, and the control jumps to # 545 without performing the tracking operation. If it is K times or more, it is determined that tracking is possible, and the process proceeds to # 520. The comparison parameters δ, r, and k in the above-described determination processing of # 490, # 510, and # 515 have been described as the predetermined values.
Hysteresis of a predetermined width may be provided for these parameters depending on whether tracking is being performed or not. The hysteresis is set so that the tracking operation is hard to escape during the tracking operation, and the tracking operation is hard to enter when the tracking operation is not performed.

【0056】例えばδは追尾中はδ1追尾外ではδ2
(>δ1)、rは追尾中はRL1又はRS1、追尾外は
RL2(<RL1)又はRS2(<RS1)、kは追尾
中はk1、追尾外はk2(>k1)とする。このように
ヒステリシスを設けることにより追尾動作と追尾動作中
の間の遷移を安定に行なうことができる。#520から
#540は追尾動作のための演算処理である。#520
は追尾補正量(COMP)を今回の追尾デフォーカス量
(PRED)に係数αを乗じて演算する場合の係数αを
決定するための処理である。#520の処理の内容につ
いて図20を参照して説明する。図20において全押し
以前にはCCD蓄積及び焦点検出演算動作とAFモータ
駆動動作からなる周期はF0でほぼ一定なので係数αは
ほぼ1が適正である。全押し後は撮影動作が周期に含ま
れることになるので図に示すように周期がF1、F2、
F3と全押し以前の周期F0より長くなる。又全押し以
前にはCCDの蓄積時間の中点で実線と一点鎖線が交わ
るように係数αを決定する。全押し以後は撮影時の露光
の中点(図にEで示す)で実線と一点鎖線が交わるよう
に係数αを決定する。図に撮影動作時におけるCCDの
蓄積の開始から露光の中点までの周期をF1′、F
2′、F3′で示してあるが、係数αは前回の周期と今
回の露光の中点までの周期との比にほぼ比例し、ショッ
トカウンタが0(PCOONT=0)の場合は、係数α
はF0/F0〜1、1(PCOUNT=1)の場合はF
1′/F0=1.5、2(PCOUNT=2)の場合は
F2′/F1=0.9〜1、3(PCOUNT=3)の
場合はF3′/F2=0.8〜1が適している。又係数
αは被写体の運動方向及びレンズの焦点距離に応じても
変えることが望ましい。
For example, δ is δ1 during tracking and δ2 outside tracking.
(> Δ1), r is RL1 or RS1 during tracking, RL2 (<RL1) or RS2 (<RS1) outside tracking, k is k1 during tracking, and k2 (> k1) outside tracking. By providing the hysteresis in this manner, the transition between the tracking operation and the tracking operation can be performed stably. Steps # 520 to # 540 are calculation processes for the tracking operation. # 520
Is a process for determining the coefficient α when the tracking correction amount (COMP) is calculated by multiplying the current tracking defocus amount (PRED) by the coefficient α. The contents of the process of # 520 will be described with reference to FIG. In FIG. 20, before the full press, the cycle consisting of the CCD accumulation and focus detection calculation operation and the AF motor driving operation is almost constant at F0, so that the coefficient α is approximately 1 is appropriate. After the full press, the shooting operation is included in the cycle, so that the cycle is F1, F2,
It becomes longer than F3 and the cycle F0 before full pressing. Before the full press, the coefficient α is determined so that the solid line and the dashed line intersect at the middle point of the accumulation time of the CCD. After the full press, the coefficient α is determined so that the solid line and the dash-dot line intersect at the middle point of exposure during photography (indicated by E in the figure). In the figure, the period from the start of CCD accumulation to the middle point of exposure during the photographing operation is represented by F1 'and F1'.
2 'and F3', the coefficient α is almost proportional to the ratio between the previous cycle and the cycle up to the middle point of the current exposure. When the shot counter is 0 (PCONET = 0), the coefficient α
Is F0 / F0, F1 in case of 1 and 1 (PCOUNT = 1)
When 1 '/ F0 = 1.5, 2 (PCOUNT = 2), F2' / F1 = 0.9 to 1, and when 3 (PCOUNT = 3), F3 '/ F2 = 0.8 to 1 is suitable. ing. It is desirable that the coefficient α be changed in accordance with the direction of movement of the subject and the focal length of the lens.

【0057】図21を用いてその理由を説明する。図2
1(A)において実線は被写体が∞から至近に近づいて
くる場合の被写体像を常にフィルム面に一致させるため
の撮影レンズの動きの軌跡を示し、一点鎖線は被写体の
至近から∞に遠ざかる場合の撮影レンズの動きの軌跡で
ある。被写体が近づく場合には、至近に近づくにつれて
撮影レンズの動きが大きくなる。反対に被写体が遠ざか
る場合には、∞に遠ざかるにつれて撮影レンズの動きが
小さくなる。従って追尾補正量を決めるための係数α
は、被写体が遠ざかる時に近づく時より小さく設定して
おくのが好ましい。又図21(B)は近づいてくる被写
体に対する撮影レンズの軌跡を示し、実線は焦点距離が
短かい撮影レンズの動きの軌跡を示し、一点鎖線は焦点
距離が長い撮影レンズの動きの軌跡を示している。焦点
距離が長い場合は無限遠∞から至近まで撮影レンズの動
きが一定であるのに対し、焦点距離が短かい場合は至近
に近づくにつれて撮影レンズの動きの軌跡が急激に立上
がる。従って係数αは焦点距離が長いレンズの場合には
焦点距離が短かいレンズの場合より小さめに設定してお
くのが好ましい。
The reason will be described with reference to FIG. FIG.
In FIG. 1 (A), the solid line indicates the trajectory of the movement of the photographing lens for making the subject image always coincide with the film surface when the subject approaches from ∞. It is a locus of the movement of the taking lens. When the subject approaches, the movement of the taking lens increases as the subject approaches. On the other hand, when the subject goes away, the movement of the taking lens becomes smaller as the subject goes away. Therefore, the coefficient α for determining the tracking correction amount
Is preferably set to be smaller when the subject moves away than when the subject approaches. FIG. 21B shows the trajectory of the taking lens with respect to the approaching subject, the solid line shows the trajectory of the movement of the taking lens having a short focal length, and the dashed line shows the trajectory of the movement of the taking lens having a long focal length. ing. When the focal length is long, the movement of the photographing lens is constant from infinity ∞ to a close distance. On the other hand, when the focal length is short, the locus of the movement of the photographing lens rises sharply as the focal distance approaches. Therefore, it is preferable to set the coefficient α to be smaller for a lens having a long focal length than for a lens having a short focal length.

【0058】以上の理由により#520ではショット回
数(PCOUNT)及びレンズの焦点距離(FL)が所
定値(FX)より大きいか小さいか及び被写体の運動方
向(追尾デフォーカス量の符号)の3つのパラメータに
応じて表に示すように係数αを定める。#525では#
520で定められた係数αを今回の追尾デフォーカス量
(PRED)に乗じて追尾補正量(COMP)を求め
る。また同じ焦点距離のレンズでも被写体が無限遠∞に
近い場合と至近側に近い場合とでは図21(B)の実線
のように加速のされかたが異なっている。従ってより厳
密に扱うためにはレンズの距離情報も加味してαの値を
決定するのが良く、例えば被写体が近づく場合には至近
側になる程のαの値を大きくして補正量を大きくとるの
が良い。
For the above reasons, in # 520, there are three shots: the number of shots (PCOUNT), whether the focal length (FL) of the lens is larger or smaller than a predetermined value (FX), and the moving direction of the subject (the sign of the tracking defocus amount) The coefficient α is determined according to the parameters as shown in the table. In # 525, #
The tracking correction amount (COMP) is obtained by multiplying the coefficient α determined in 520 by the current tracking defocus amount (PRED). Further, even if the lens has the same focal length, the way of acceleration is different as shown by the solid line in FIG. Therefore, in order to treat the object more strictly, it is better to determine the value of α in consideration of the distance information of the lens. For example, when the subject approaches, the value of α is increased so that it is closer to the object and the correction amount is increased. Good to take.

【0059】次にレンズの焦点距離情報や距離情報を用
いないでαの値を求める方法を述べる。この為には前記
PLSTとPREDを用いてPRED/PLST=βの
値を算出する。像面移動の速度が定速の場合はβ=1で
加速の時はβ>1、減速のときはβ<1となるので、こ
のβを用いてαの値を決めることができる。この場合例
えば次の様なテーブルを用いてβの値からαの値を決定
する。尚、このβは、追尾デフォーカス量の時間変化す
なわち被写体移動に伴う像面の加速度に関する情報であ
る。
Next, a method of obtaining the value of α without using the focal length information or distance information of the lens will be described. For this purpose, the value of PRED / PLST = β is calculated using the above-mentioned PLST and PRED. When the image plane moving speed is constant, β = 1, β> 1 during acceleration, and β <1 during deceleration. Therefore, the value of α can be determined using β. In this case, for example, the value of α is determined from the value of β using the following table. Here, β is information on the temporal change of the tracking defocus amount, that is, the acceleration of the image plane accompanying the movement of the subject.

【表1】 αの値はβの値より少し小さ目となるが、これは露光と
蓄積時間の時間間隔に依存し、おおむね
[Table 1] The value of α is slightly smaller than the value of β, which depends on the time interval between the exposure and the accumulation time, and is generally

【数6】 となる。#530では追尾動作を行なうために今回のデ
フォーカス量(DEF)に#525で求めた追尾補正量
(COMP)を加えて今回の追尾駆動量(DRIV)を
決定する。#535では前回(最終)の追尾デフォーカ
ス量(PLST)を今回の追尾デフォーカス量(PRE
D)に置きかえ次回の追尾処理・判定に準備する。#5
40では追尾動作中(PRSFLG ON)として次の
(8)合焦判定・表示モジュールに進む。以上が追尾動作
を行なう時の処理である。#545と#550は追尾不
可と判定された場合の処理である。#545では前回
(最終)の追尾デフォーカス量(PLST)として今回
のデフォーカス量(DEF)を採用して次回の追尾処理
・判定に備える。#550では追尾動作中でないとして
追尾中フラグをリセット(PRSFLGをOFF)にし
て次の(8)合焦判定・表示モジュールに進む。
(Equation 6) Becomes In step # 530, the current tracking drive amount (DRIV) is determined by adding the tracking correction amount (COMP) obtained in step # 525 to the current defocus amount (DEF) in order to perform the tracking operation. In # 535, the previous (final) tracking defocus amount (PLST) is replaced by the current tracking defocus amount (PRE).
Prepare for the next tracking process / judgment by replacing with D). # 5
At 40, it is determined that the tracking operation is being performed (PRSFLG ON), and the process proceeds to the next (8) focus determination / display module. The above is the processing when the tracking operation is performed. Steps # 545 and # 550 are processing when it is determined that tracking is impossible. In step # 545, the current defocus amount (DEF) is adopted as the previous (final) tracking defocus amount (PLST) to prepare for the next tracking process / determination. In step # 550, it is determined that the tracking operation is not being performed, the tracking flag is reset (PRSFLG is turned off), and the process proceeds to the next (8) focusing determination / display module.

【0060】図22は(8)合焦判定・表示モジュールの
フローチャートである。#560ではフォーカスモード
がワンショットモード(ONEFLG ON)であるか
テストしワンショットモードであった場合は#565を
スキップし#570へ進む。ワンショットモードでなか
った場合即ち連続AFモードあるいはマニュアルモード
であった場合は#565で固定フラグをリセット(FI
XFLGをOFF)して駆動表示が一旦合焦した後も固
定されないようにする。#570では駆動表示が固定さ
れている(FIXFLGがON)かテストし固定された
場合には以下の処理をパスして次の(9)AF許可待機モ
ジュールへ進む。#570で駆動表示が固定されていた
場合は#575へ進み、焦点検出不能であったか(LO
CFLGがON)テストし焦点検出不能の場合には#6
10に進み非合焦(FZCFLG OFF)と判定しさ
らに#615でAF表示手段40の表示部44(X)を
アクティブにして表示を行なう。#575で焦点検出不
能でなかった場合は、#580でこれ以降スキャンを行
なわないようにスキャン禁止フラグをセット(NSCF
LGをON)し#585で追尾モードであるか(PMD
FLGがON)テストする。追尾モードであった場合に
は、#590へ進み追尾中であるか(PRSFLGがO
N)テストする。
FIG. 22 is a flowchart of the (8) focus determination / display module. In # 560, it is tested whether the focus mode is the one-shot mode (ONEFLG ON). If the focus mode is the one-shot mode, # 565 is skipped and the process proceeds to # 570. If the mode is not the one-shot mode, that is, if the mode is the continuous AF mode or the manual mode, the fixed flag is reset at # 565 (FI
XFLG is turned off) so that the drive display is not fixed even after being once focused. In # 570, it is tested whether the drive display is fixed (FIXFLG is ON), and if it is fixed, the process passes the following processing and proceeds to the next (9) AF permission standby module. If the drive display is fixed in # 570, the flow advances to # 575 to determine whether focus detection has been impossible (LO
If CFLG is ON) and the focus cannot be detected, # 6
Proceeding to 10, it is determined that the image is out of focus (FZCFLG OFF), and the display unit 44 (X) of the AF display means 40 is activated and displayed at # 615. If the focus cannot be detected in step # 575, the scan prohibition flag is set in step # 580 so that no further scanning is performed (NSCF).
LG is ON) and the tracking mode is set at # 585 (PMD
FLG is ON) Test. If the mode is the tracking mode, the process proceeds to step # 590 to determine whether or not tracking is being performed (PRSFLG is O
N) Test.

【0061】追尾中であった場合には、#595でレン
ズ端であるか(LLMFLGがON)テストする。レン
ズ端であった場合は#600で非合焦と判定((10) 駆
動制御モジュールで常に駆動が行なわれるように)して
合焦フラグをリセット(FZCFLGをON)し、更に
#605で表示部41及び43を両方アクティブにして
他の表示状態(合焦、非合焦)と異なる表示形態で追尾
動作中であることを表示して次の(9)AF許可待機モジ
ュールに進む。#620から#640までの処理は合焦
判定のための合焦ゾーンを決定するための処理であって
#585で追尾モードでなかった場合は非合焦から合焦
に入る場合の狭いゾーン(ZONEN)をZ1(例えば
50μm)、合焦から非合焦に出る場合の広いゾーン
(ZONEW)をZ2(例えば150μm)に設定し#
645以降の判定処理に進む。一方#590で追尾中で
なかった場合及び#595でレンズ端であると判定され
た場合は、#625に進み、狭いゾーン(ZONEN)
をZ3(例えば50μm)、広いゾーン(ZONEW)
をZ4(例えば100μm)に設定する。Z4をZ2よ
り小さく設定することにより追尾モードにおける駆動の
応答性を高めることができる#630では低輝度である
か(LOLFLGがON)テストし、低輝度であった場
合は#640へ進む。低輝度でなかった場合は#635
で信頼性が高いか(SLOPが所定値SY以上である
か)テストし、信頼性が高い場合はそのまま#645へ
抜ける。#635では信頼性の判定のパラメータSLO
Pを使用しているが(7)式で求めるコントラストパラ
メータCONTを用いてもよい。
If tracking is in progress, a test is performed at # 595 to determine whether the lens is at the lens end (LLMFLG is ON). If it is the lens end, it is determined that out of focus at # 600 ((10) so that the drive is always performed by the drive control module), the focus flag is reset (FZCFLG is turned ON), and further displayed at # 605. Both the units 41 and 43 are activated to indicate that the tracking operation is being performed in a display mode different from the other display states (in-focus and out-of-focus), and the process proceeds to the next (9) AF permission standby module. The processes from # 620 to # 640 are processes for determining the focusing zone for the focus determination. If the tracking mode is not set in # 585, the narrow zone (from the non-focusing state to the focusing state) (ZONEN) is set to Z1 (for example, 50 μm), and a wide zone (ZONEW) when going out of focus to out of focus is set to Z2 (for example, 150 μm).
The process proceeds to the determination process after 645. On the other hand, when tracking is not being performed in # 590 and when it is determined that the lens is at the lens end in # 595, the process proceeds to # 625, and a narrow zone (ZONEN) is set.
To Z3 (for example, 50 μm), wide zone (ZONEW)
Is set to Z4 (for example, 100 μm). By setting Z4 smaller than Z2, the response of driving in the tracking mode can be enhanced. In # 630, a test is performed to determine whether the luminance is low (LOLFLG is ON). If the luminance is low, the process proceeds to # 640. If the brightness was not low, # 635
To test whether the reliability is high (SLOP is equal to or more than a predetermined value SY). If the reliability is high, the flow directly goes to # 645. In step # 635, the reliability determination parameter SLO
Although P is used, the contrast parameter CONT obtained by Expression (7) may be used.

【0062】一方信頼性が低いと判定された場合及び#
630で低輝度であった場合は#640で広いゾーン
(ZONEW)をZ4より大きなZ5(例えば200μ
m)に変更して#645へ進む。#630から#640
の処理は追尾モードにおいて低輝度及び信頼性が低い場
合には応答性よりも安定性を重視して合焦ゾーンを設定
するための処理である。#645で前回合焦していたか
(FZCFLGがON)テストし非合焦であった場合
は、#650へ進み今回のデフォーカス量の絶対値(|
DEF|)と狭いゾーン(ZONEN)を比較する。合
焦であった場合は、#680で今回のデフォーカス量の
絶対値(|DEF|)と広いゾーン(ZONEW)を比
較する。#650及び#680でゾーン外と判定された
場合は#685へ進み非合焦と判定(FZCFLGをO
FF)して、#690で今回のデフォーカス量(DE
F)の符号を判定する。
On the other hand, when it is determined that the reliability is low,
If the brightness is low at 630, a wide zone (ZONEW) is set to Z5 (for example, 200 μm) larger than Z4 at # 640.
m) and proceeds to # 645. # 630 to # 640
Is a process for setting a focusing zone with emphasis on stability over responsiveness when low luminance and reliability are low in the tracking mode. If it is determined in # 645 that focus was previously achieved (FZCFLG is ON) and it is out of focus, the process proceeds to # 650 and the absolute value of the current defocus amount (|
DEF |) and a narrow zone (ZONEN). If it is in focus, the absolute value (| DEF |) of the current defocus amount is compared with the wide zone (ZONEW) in # 680. If it is determined in steps # 650 and # 680 that the image is out of the zone, the flow advances to step # 685 to determine that the image is out of focus.
FF), and in # 690, the current defocus amount (DE
The sign of F) is determined.

【0063】符号が正(前ピン)の場合は#695へ進
み表示部41の三角マークをアクティブにして前ピン状
態を表示して次のモジュールに進む。符号が負(後ピ
ン)の場合には#700で表示部43の三角マークをア
クティブにして後ピン状態を表示して、次のモジュール
に進む。#650及び#680でゾーン内であると判定
されると#655で合焦フラグ(FZCFLG)をセッ
ト(ON)する。#660でフォーカスモードがワンシ
ョットモード(ONEFLGがON)であるかテスト
し、ワンショットモードでない場合は#675へジャン
プする。ワンショットモードであった場合は#665で
固定フラグをセット(FIXFLGをON)して以後の
駆動及び表示を固定する。更に#670ではレリーズ許
可信号(RL)を許可(ON)にしてワンショットモー
ドでの合焦レリーズ許可をメインCPUに知らせ、#6
75へ進む。#675では表示部42の合焦マークをア
クティブにして合焦を表示して次の(9)AF許可待機モ
ジュールに進む。
If the sign is positive (previous pin), the flow advances to step # 695 to activate the triangular mark on the display section 41 to display the front focus state and to proceed to the next module. When the sign is negative (back focus), the triangular mark on the display unit 43 is activated in # 700 to display the back focus state, and the process proceeds to the next module. If it is determined in # 650 and # 680 that the area is within the zone, the focusing flag (FZCFLG) is set (ON) in # 655. In step # 660, it is tested whether the focus mode is the one-shot mode (ONEFLG is ON). If not, the process jumps to step # 675. If the mode is the one-shot mode, the fixing flag is set (FIXFLG is turned ON) in # 665, and the subsequent driving and display are fixed. In step # 670, the release permission signal (RL) is permitted (ON) to notify the main CPU of the focus release permission in the one-shot mode.
Go to 75. In step # 675, the focus mark on the display unit 42 is activated to display the focus, and the process proceeds to the next (9) AF permission standby module.

【0064】図23は(9)AF許可待機モジュールのフ
ローチャートである。#710で追尾モードであるか
(PMDFLGがON)テストし、追尾モードでなかっ
た場合は何もせずに次の(10) 駆動制御モジュールに進
む。追尾モードであった場合は、#715でAF許可信
号(AF)が許可(ON)になるのを待機し、許可にな
らない場合は#710、#715を繰り返す。AF許可
信号が許可になると#720に進みレリーズ中であるか
(PCOUNT≠0)テストし、レリーズ中であった場
合は#725で、ミラーフラグ(MIRFLG)をセッ
ト(ON)してミラーアップ前の状態をセットし、又
(10) 駆動制御モジュールにより駆動が開始されてから
リレーズ許可信号(RL)を許可(ON)するまでの追
尾ディレイ状態をセット(PDYFLGをON)し、そ
れと同時に追尾ディレイ時間T1を追尾ディレイ(PR
SDLY)にセットし#730に進む。#720でリレ
ーズ中でなかった場合は、#725の処理を行なわず#
730に進む。#730では追尾動作中であるか(PR
SFLGがON)テストして追尾動作中である場合は、
#375で今回のデフォーカス量(DEF)を追尾駆動
量(DRIV)に置きかえて、次の(10) 駆動制御モジ
ュールでデフォーカス量のかわりに追尾駆動量で駆動が
行なわれるようにする。#730で追尾中でなかった場
合はそのまま(10) 駆動制御モジュールに進む。
FIG. 23 is a flowchart of the (9) AF permission waiting module. In # 710, a test is performed to determine whether the mode is the tracking mode (PMDFLG is ON). If the mode is not the tracking mode, the process proceeds to the next (10) drive control module without doing anything. If the mode is the tracking mode, the process waits for the AF permission signal (AF) to be permitted (ON) in # 715, and if not, repeats # 710 and # 715. When the AF permission signal is permitted, the process proceeds to # 720 and a test is performed to determine whether or not the release is being performed (PCOUNT # 0). And (10) a tracking delay state from the start of driving by the drive control module to the permission (ON) of the relay permission signal (RL) (PDYFLG ON), and at the same time, the tracking delay The time T1 is set to the tracking delay (PR
(SDLY) and proceeds to # 730. If relaying is not being performed in # 720, processing in # 725 is not performed and #
Proceed to 730. In # 730, is the tracking operation in progress (PR
(SFLG is ON) If the tracking operation is in progress,
In step # 375, the current defocus amount (DEF) is replaced with the tracking drive amount (DRIV), and the next (10) drive control module performs driving with the tracking drive amount instead of the defocus amount. If tracking is not being performed in # 730, the process directly proceeds to (10) drive control module.

【0065】図24は(10) 駆動制御モジュールのフロ
ーチャートである。#740で、AF許可信号(AF)
が許可(ON)かテストし、許可でなかった場合は、#
865から#880の非駆動処理に進む。AF許可信号
が許可であった場合は、#745に進み、AFモードで
あるか(AFMFLGがON)テストする。AFモード
フラグ(AFMFLG)は、装着レンズがAF可能なレ
ンズであり、かつ、フォーカスモードがマニュアルでな
い場合にセットされる。AFモードでなかった場合は、
#865以降の非駆動処理に進む。AFモードであった
場合は、#750で駆動が固定されているか(FIXF
LGがON)テストする。駆動が固定されていた場合、
#865以降の非駆動処理に進む。駆動が固定されてい
ない場合、#755に進み、合焦しているか(FZCF
LGがON)テストする。
FIG. 24 is a flowchart (10) of the drive control module. At # 740, an AF permission signal (AF)
Tests whether is permitted (ON), and if not, #
The process proceeds from 865 to the non-drive processing of # 880. If the AF permission signal indicates permission, the flow proceeds to step # 745, and a test is performed to determine whether the AF mode is set (AFMFLG is ON). The AF mode flag (AMFLG) is set when the mounted lens is an AF-capable lens and the focus mode is not manual. If not in AF mode,
The process proceeds to the non-drive processing after # 865. In the case of the AF mode, whether the drive is fixed at # 750 (FIXF
(LG is ON) Test. If the drive was fixed,
The process proceeds to the non-drive processing after # 865. If the drive is not fixed, the process proceeds to # 755, and whether the camera is in focus (FZCF
(LG is ON) Test.

【0066】合焦している場合は、#865以降の非駆
動処理に進む。合焦していない場合は、#760に進
み、焦点検出不能であるか(LOCFLGがON)テス
トする。焦点検出不能であった場合は、#830以降の
スキャン駆動処理に進む。焦点検出が不能でなかった場
合は、#765以降の駆動処理に進む。#765から#
775は撮影レンズの駆動方向の反転を判定する処理で
あって#765では今回のデフォーカス量(DEF)の
符号と最終のデフォーカス量(DEFLST)の符号を
比較し、異符号であった場合は、#770で駆動反転フ
ラグをセット(REVFLGをON)し、#780に進
む。同符号であった場合は、#775で駆動反転フラグ
をリセット(REVFLGをOFF)して#780に進
む。#780では最終デフォーカス量(DEFLST)
を今回のデフォーカス量(DEF)に置きかえて更新を
行なう。#785では、今回のデフォーカス量(DE
F)に応じた、AFモータの駆動量即わちエンコーダ5
2からフィードバックされる予定パルス数(ETM)を
次式を用いて計算する。 ETM=KL×KB×|DEF| …(8) (8)式において、係数KLは撮影レンズの像面の単位
デフォーカス量あたりのレンズ側カップリング14の回
転数、係数KBはボディ側カップリング53の1回転当
りのエンコーダ52の発生するパルス数を示している。
従って(8)式により、撮影レンズの像面を今回のデフ
ォーカス量(DEF)だけ移動させた時にエンコーダ5
2が発生すべきパルス数が求められるわけである。計算
された予定パルス数は後述のパルスカウンタ割込の設定
値として比較レジスタにセットされる。#790ではス
キャン駆動でない(SCAFLGをOFF)とし、#7
95で今回駆動を行なう(DRVFLGをON)とし、
#800で駆動状態を駆動中(MOVFLGをON)に
する。
If the camera is in focus, the flow advances to the non-drive processing in and after # 865. If the camera is out of focus, the process proceeds to step # 760, and a test is performed to determine whether focus detection is impossible (LOCFLG is ON). If the focus cannot be detected, the process proceeds to the scan drive process after # 830. If the focus detection has not been possible, the process proceeds to the driving process after # 765. From # 765 to #
In step 765, the sign of the current defocus amount (DEF) is compared with the sign of the final defocus amount (DEFLST). Sets the drive inversion flag (REVFLG is turned ON) in # 770, and proceeds to # 780. If the signs are the same, the drive inversion flag is reset (REVFLG is turned off) in # 775, and the flow proceeds to # 780. In # 780, the final defocus amount (DEFLST)
Is updated with the current defocus amount (DEF). In # 785, the current defocus amount (DE
F) The driving amount of the AF motor in accordance with F)
The expected pulse number (ETM) fed back from 2 is calculated using the following equation. ETM = KL × KB × | DEF | (8) In equation (8), the coefficient KL is the number of rotations of the lens-side coupling 14 per unit defocus amount of the image plane of the photographing lens, and the coefficient KB is the body-side coupling. The number of pulses generated by the encoder 52 per one rotation of 53 is shown.
Therefore, according to equation (8), when the image plane of the photographing lens is moved by the current defocus amount (DEF), the encoder 5
That is, the number of pulses for which 2 should be generated is obtained. The calculated expected pulse number is set in a comparison register as a set value of a pulse counter interrupt described later. In # 790, scan drive is not performed (SCAFLG is OFF), and # 7
At 95, drive this time (DRVFLG is ON),
At # 800, the driving state is set to driving (MOVFLG is ON).

【0067】次に、#805では、駆動開始前に、パル
スカウンタをクリア(ECNT=0)する。#810か
ら#820では今回のデフォーカス量(DEF)の符号
に従って駆動方向を決定し、駆動を開始するための処理
である。#810では今回のデフォーカス量(DEF)
の符号を調べ前ピン(符号が正)の場合は、#815で
AFモータを遠方向へ駆動を開始する。後ピン(符号が
負)の場合は、#820に進みAFモータを近方向へ駆
動を開始する。駆動処理の最後として、#825でパル
スカウンタの割込みを許可して次の(11) AGC演算モ
ジュールに進む。一方#760で焦点検出不能と判定さ
れた場合は、#830へ進み、スキャン禁止中であるか
(NSCFLGがON)テストする。#830でスキャ
ン禁止であった場合は、スキャン駆動を行なわず#86
5以降の非駆動処理に進む。
Next, in # 805, the pulse counter is cleared (ECNT = 0) before the driving starts. Steps # 810 to # 820 are processes for determining the driving direction according to the sign of the current defocus amount (DEF) and starting driving. In # 810, the current defocus amount (DEF)
Is checked, and if it is the previous pin (the sign is positive), the AF motor starts to be driven in the far direction at # 815. In the case of the rear focus (the sign is negative), the process proceeds to # 820, and the AF motor starts to be driven in the near direction. At the end of the driving process, the interrupt of the pulse counter is permitted in # 825, and the process proceeds to the next (11) AGC operation module. On the other hand, if it is determined in step # 760 that the focus cannot be detected, the flow advances to step # 830 to test whether scanning is prohibited (NSCFLG is ON). If the scan is prohibited in # 830, the scan drive is not performed and # 86
The process proceeds to the non-driving process after 5.

【0068】スキャン禁止でなかった場合には、#83
5で現在スキャン中であるか(SCAFLGがON)テ
ストする。スキャン中であった場合は、スキャン駆動開
始処理を行なわず、#860へジャンプする。スキャン
中でなかった場合は、#840から#855のスキャン
駆動開始処理を行なう。#840でスキャン中(SCA
FLGをON)にし、#845で今回駆動を行なう(D
RVFLGをON)とし、#850で駆動中(MOVF
LGをON)とする。#855では、予め定められた方
向へAFモータの駆動を開始しスキャンを始めるととも
に、#856でレンズ端カウンタをクリア(LCOUN
T=0)し、#860へ進む。#860では、パルスカ
ウンタの割込みを禁止して(11) AGC演算モジュール
へ進む。#740、#745、#750、#755、#
830より#865に進むとスキャンフラグをリセット
(SCAFLGをOFF)とする。#870では、今回
駆動なし(DRVFLGをOFF)とし、#875で駆
動中でない(MOVFLGをOFF)とする。非駆動処
理の最後として#880でAFモータの駆動を停止して
次のモジュールへ進む。
If the scan is not prohibited, # 83
In step 5, it is tested whether scanning is currently being performed (SCAFLG is ON). If a scan is being performed, the process jumps to # 860 without performing the scan drive start process. If the scan is not being performed, a scan drive start process from # 840 to # 855 is performed. Scanning at # 840 (SCA
FLG is turned ON) and the current drive is performed in # 845 (D
RVFLG is turned ON), and driving is being performed at # 850 (MOVF
LG is ON). In # 855, the AF motor starts to be driven in a predetermined direction to start scanning, and the lens end counter is cleared in # 856 (LCOUN).
T = 0), and then proceeds to # 860. In step # 860, the interruption of the pulse counter is prohibited (11), and the process proceeds to the AGC operation module. # 740, # 745, # 750, # 755, #
If the process proceeds from step 830 to step # 865, the scan flag is reset (SCAFLG is turned off). In # 870, it is determined that there is no drive this time (DRVFLG is OFF), and in # 875, it is not driving (MOVFLG is OFF). At the end of the non-drive processing, the drive of the AF motor is stopped at # 880, and the process proceeds to the next module.

【0069】図25は、(11) AGC演算モジュールの
フローチャートである。まず#890で次回のCCDの
蓄積時間(INTT)を(9)式によって計算する。 INTT=INTT×IX/MAX …(9) (9)式において右辺のINTTは今回の蓄積時間、I
XはCCDデータの最大値の目標値、MAXは今回のC
CDデータの最大値である。(9)式により、次回の蓄
積時間(左辺のINTT)は、次回のCCDデータの最
大値が目標値IXになるように設定される。#895で
は、次回の蓄積時間が所定値IY以上であるか即わち低
輝度であるかテストする。所定値IY以上だった場合
は、#900へ進み低輝度フラグをセット(LOLFL
GをON)して、(2)蓄積前処理に戻る。所定値IY以
上でなかった場合は、#905へ進み低輝度フラグをリ
セット(LOLFLGをOFF)して、(2)蓄積前処理
に戻る。以上の処理では低輝度であるか否かをCCDの
蓄積時間に基づいて決めているが、メインCPUと通信
し、メインCPUの持っているAE情報(測光情報)を
もらって、該情報に基づいて低輝度であるか否かを決定
してもよい。又、IYは所定値に定められているが、前
回低輝度であったか否かにより、所定中のヒステリシス
を設けてもよい。以上がメインプログラムの蓄積演算及
び駆動の一周期であり、この処理がくり返されることに
なる。
FIG. 25 is a flowchart of the (11) AGC operation module. First, at step # 890, the next accumulation time (INTT) of the CCD is calculated by equation (9). INTT = INTT × IX / MAX (9) In equation (9), INTT on the right side is the current accumulation time,
X is the target value of the maximum value of the CCD data, and MAX is the current C value.
This is the maximum value of the CD data. According to equation (9), the next accumulation time (INTT on the left side) is set such that the maximum value of the next CCD data becomes the target value IX. In # 895, it is tested whether the next accumulation time is equal to or longer than the predetermined value IY, that is, whether the brightness is low. If the value is equal to or more than the predetermined value IY, the process proceeds to # 900, and the low luminance flag is set (LOLFL).
G is turned ON), and the process returns to (2) pre-storage processing. If the value is not equal to or more than the predetermined value IY, the process proceeds to step # 905, where the low luminance flag is reset (LOLFLG is turned off), and the process returns to (2) pre-storage process. In the above processing, whether or not the luminance is low is determined on the basis of the accumulation time of the CCD. It may be determined whether or not the brightness is low. Although IY is set to a predetermined value, a predetermined hysteresis may be provided depending on whether or not the brightness was low at the previous time. The above is one cycle of the accumulation calculation and driving of the main program, and this processing is repeated.

【0070】図26は、タイマー割込プログラムのフロ
ーチャートである。タイマー割込プログラムは、メイン
プログラム動作中に一定時間毎に起動されて処理が行な
われる。#910から#925はAFモードフラグ(A
FMFLG)を更新するための処理である。#910で
は装着レンズがAFレンズであるか(AFLFLGがO
N)テストする。AFレンズであった場合は、#915
に進みフォーカスモード信号(FM)がワンショットA
F又は連続AFであるか(C又はO)テストする。ワン
ショットAF又は連続AFであった場合は、#920へ
進み、AFモードフラグ(AFMFLG)をセット(O
N)にし、#930に進む。#910でAFレンズでな
かった場合、及び#915でフォーカスモード信号(F
M)がマニュアルモードであった場合は、#925に進
みAFモードフラグ(AFMFLG)をリセット(OF
F)し、#930に進む。#930から#940の処理
は、ワンショットフラグを更新するための処理であっ
て、#930でフォーカスモード信号(FM)がワンシ
ョットAFモードであるかテストする。ワンショットモ
ードであった場合は、ワンショットフラグをセット(O
NEFLGをON)し、#945に進む。ワンショット
モードでなかった場合は、ワンショットフラグをリセッ
ト(ONEFLGをOFF)し、#945に進む。#9
45から#1005のブロックは追尾モードにおける全
押、追尾ディレイ、ミラーアップ処理である。#945
から#965では追尾モードであるか否かの判定を行な
う処理であって、#945では駒速モード信号(DM)
が通常連続撮影(C2)であるかテストし、C2でない
場合は非追尾モードとして#965へ進む。通常連続撮
影(C2)であった場合は、#950へ進み、AFモー
ドであるか(AFMFLGがON)テストする。AFモ
ードでなかった場合は、非追尾モードとして#965へ
進む。AFモードであった場合は、#955へ進み、ワ
ンショットモードであるか(ONEFLGがON)テス
トする。ワンショットモードであった場合は、非追尾モ
ードとして#965へ進む。ワンショットモードでなか
った場合は、追尾モードとして#960へ進む。結局フ
ォーカスモードが連続AFで駒速モードがC2でかつ装
着レンズがAFレンズの場合に、#960へ進み、追尾
モードがセット(PMDFLGがON)され、その後、
追尾モードの処理が行なわれる。
FIG. 26 is a flowchart of the timer interrupt program. The timer interrupt program is activated and executed at regular intervals during the operation of the main program. # 910 to # 925 are the AF mode flags (A
FMFLG) is updated. In # 910, whether the attached lens is an AF lens (AFLFLG is O
N) Test. If the lens is an AF lens, # 915
And the focus mode signal (FM) is one shot A
Test for F or continuous AF (C or O). If it is the one-shot AF or the continuous AF, the process proceeds to # 920, and the AF mode flag (AMFLG) is set (OMFLG).
N), and proceed to # 930. If it is not an AF lens in # 910, and if the focus mode signal (F
If M) is in the manual mode, the process proceeds to step # 925, where the AF mode flag (AMFLG) is reset (OF
F) and proceed to # 930. The processing from # 930 to # 940 is a processing for updating the one-shot flag. In # 930, it is tested whether the focus mode signal (FM) is in the one-shot AF mode. If the mode is the one-shot mode, the one-shot flag is set (O
NEFLG is turned ON), and the process proceeds to # 945. If the mode is not the one-shot mode, the one-shot flag is reset (ONEFLG is turned off), and the process proceeds to # 945. # 9
Blocks 45 to # 1005 are the full-press, tracking delay, and mirror-up processing in the tracking mode. # 945
In step # 965, it is determined whether or not the tracking mode is set. In step # 945, the frame speed mode signal (DM)
Is normal continuous shooting (C2), and if not, the process proceeds to # 965 as the non-tracking mode. If it is the normal continuous shooting (C2), the process proceeds to step # 950, and a test is performed to determine whether the mode is the AF mode (AFMFLG is ON). If not in the AF mode, the process proceeds to # 965 as the non-tracking mode. If the mode is the AF mode, the process proceeds to # 955, and a test is performed to determine whether the mode is the one-shot mode (ONEFLG is ON). If the mode is the one-shot mode, the process proceeds to # 965 as the non-tracking mode. If the mode is not the one-shot mode, the process proceeds to # 960 as the tracking mode. After all, when the focus mode is the continuous AF, the frame speed mode is C2, and the attached lens is the AF lens, the process proceeds to # 960, the tracking mode is set (PMDFLG is ON), and thereafter,
Tracking mode processing is performed.

【0071】一方、それ以外のモードの組み合わせで
は、非追尾モードと追尾モードをリセット(PMDFL
GをOFF)し、追尾モードの処理を行なわず、#10
10のミラーアップ処理に進む。#960で追尾モード
がセットされると、#970でレリーズボタン信号(R
S)が全押し(ON)かテストし、全押しされている場
合は、#975の追尾モードの全押処理を抜かして#9
80へ進む。全押しされていない場合は、#975で追
尾ディレイフラグをリセット(PDYFLGをOFF)
ミラーフラグをリセット(MIRFLGをOFF)、レ
リーズ許可信号(RL)を禁止(OFF)として、追尾
モードにおいての全押中の動作をリセットする。#98
0から#995は追尾モードにおける追尾ディレイ時間
の計時及び追尾ディレイ終了時のレリーズ許可を行なう
処理である。#980で追尾ディレイ中であるか(PD
YFLGがON)テストし、追尾ディレイ中でない場合
は#985以降の処理は行なわず、#1000へ進む。
追尾ディレイ中であった場合は、#985で追尾ディレ
イ時間を1だけ減ずる(PRSDLY=PRSDLY−
1)。例えばタイマー割込が1ms毎にかかり追尾ディレ
イ時間が45msであった場合には、(9)AF許可待機モ
ジュールでPRSDLY=45にセットされ、これがタ
イマー割込ごとに1だけ減ぜられるので45ms後に0と
なる。#990では、追尾ディレイの終了(PRSDL
Y=0)をテストし、終了でない場合には、#1000
へ抜ける。
On the other hand, in other combinations of modes, the non-tracking mode and the tracking mode are reset (PMDFL
G is turned OFF), and the tracking mode processing is not performed.
The process proceeds to mirror-up processing of No. 10. When the tracking mode is set in # 960, the release button signal (R
S) is fully pressed (ON), and if it is fully pressed, the full-press processing in the tracking mode of # 975 is skipped and # 9 is skipped.
Go to 80. If not fully pressed, the tracking delay flag is reset in # 975 (PDYFLG is turned off)
The mirror flag is reset (MIRFLG is turned off), the release permission signal (RL) is prohibited (OFF), and the operation during full pressing in the tracking mode is reset. # 98
Steps 0 to # 995 are processes for timing the tracking delay time in the tracking mode and for permitting release at the end of the tracking delay. Is tracking delay in # 980 (PD
If YFLG is ON) and the tracking is not being delayed, the processing after # 985 is not performed, and the process proceeds to # 1000.
If the tracking delay is being performed, the tracking delay time is reduced by 1 in # 985 (PRSDLY = PRSDLY-
1). For example, if the timer interruption is performed every 1 ms and the tracking delay time is 45 ms, (9) PRDLY = 45 is set in the AF permission standby module, and this is reduced by 1 for each timer interruption. It becomes 0. In # 990, the tracking delay ends (PRSDL
Y = 0), and if not finished, # 1000
Exit.

【0072】終了の場合は、#995でディレイ終了処
理を行ない追尾ディレイフラグをリセット(PDYFL
GをOFF)するとともにレリーズ許可信号(RL)を
許可(ON)にして、メインCPUに対してレリーズ許
可を伝え、#1000へ進む。#1000と#1005
は追尾モードにおけるミラーアップ処理であって、#1
000でミラーアップ信号(MR)がアップ(ON)か
テストしダウンの場合は、そのまま#1010へ抜け
る。アップの場合は、#1005でミラーフラグをリセ
ット(MIRFLGをOFF)して、(2)蓄積前処理モ
ジュールで、ミラーアップ後の処理へ進むことを可能に
するとともに、これ以降のレリーズを禁止するために、
レリーズ許可信号(RL)を禁止(OFF)にして#1
010へ進む。#1010から#1050はミラーアッ
プ処理のブロックであり、#1010でミラーアップ信
号(MR)がアップ(ON)かテスト、ダウンの場合
は、#1055でミラーアップフラグをリセット(RL
SFLGをOFF)し、ミラーダウン中として、#10
60へ抜ける。ミラーアップ中の場合は、ワンショット
モードでの合焦による駆動表示の固定及びレリーズ許可
を1回撮影動作(ミラーアップ)が行なわれることによ
り解除するために、#1050で固定フラグをリセット
(FIXFLGをOFF)しレリーズ許可信号(RL)
を禁止(OFF)にする。#1020では前回のタイマ
ー割込時にミラーアップ中であるか(RLSFLGがO
N)テストし、ミラーアップ中の場合は、そのまま#1
060へ抜ける。
In the case of termination, delay termination processing is performed in # 995, and the tracking delay flag is reset (PDYFL).
G is turned off), the release permission signal (RL) is permitted (ON), the release permission is transmitted to the main CPU, and the routine proceeds to # 1000. # 1000 and # 1005
Is a mirror-up process in the tracking mode, and # 1
If the mirror up signal (MR) is up (ON) at 000 and it is down, the process directly goes to # 1010. If the mirror is up, the mirror flag is reset (MIRFLG is turned off) in # 1005, and (2) the storage preprocessing module enables the process to proceed to the post-mirror up, and prohibits the subsequent release. for,
# 1 by setting the release permission signal (RL) to prohibition (OFF)
Go to 010. # 1010 to # 1050 are blocks for the mirror-up process. If the mirror-up signal (MR) is up (ON) in # 1010 and the test is down, the mirror-up flag is reset (RL) in # 1055.
SFLG is turned OFF), and it is determined that the mirror is down.
Exit to 60. If the mirror is being raised, the fixed flag is reset (FIXFLG) in # 1050 in order to release the drive display fixed by focusing in the one-shot mode and the release permission by performing a single shooting operation (mirror up). OFF) and release permission signal (RL)
Is prohibited (OFF). In # 1020, is the mirror up during the previous timer interrupt (RLSFLG is O
N) Test, if mirror is up, # 1 as it is
Exit to 060.

【0073】前回ミラーダウン中の場合は、前回と今回
のタイマー割込の間にミラーがダウンからアップを開始
したので、図4に示したようにこれに同期して駆動ディ
レイを始める。#1025では、ミラーアップフラグを
セット(RLSFLGをON)し、ミラーアップ中とし
て#1030では現在駆動中であるか(MOVFLGが
ON)テストする。停止中の場合には駆動ディレイの必
要はないので、#1060へ抜ける。駆動中の場合は、
#1035でディレイフラグをセット(DLYFLGを
ON)して駆動ディレイ状態に入り、次に#1040で
は、追尾モードであるか(PMDFLGがON)テスト
する。追尾モードであった場合は、駆動が終了した時点
でちょうどメインCPUによるミラーアップ動作が終了
し、露光が開始されるように、ディレイ時間を所定値T
2(DLY=T2)に設定し、#1060へ進む。
If the mirror was down last time, the mirror started to move up from down during the previous and current timer interrupts, so that the drive delay is started in synchronization with this as shown in FIG. In step # 1025, the mirror-up flag is set (RLSFLG is turned on), and in step # 1030, it is tested whether the mirror is being driven (MOVFLG is on). If it is stopped, there is no need for a drive delay, so the flow goes to # 1060. When driving,
In # 1035, the delay flag is set (DLYFLG is turned on) to enter the drive delay state. Next, in # 1040, a test is performed to determine whether the mode is the tracking mode (PMDFLG is ON). In the case of the tracking mode, the delay time is set to a predetermined value T so that the mirror-up operation by the main CPU is completed at the time when the driving is completed and the exposure is started.
2 (DLY = T2), and proceeds to # 1060.

【0074】一方、追尾モードでなかった場合は、メイ
ンCPUのミラーアップ動作終了以前に駆動が終了する
ようにディレイ時間を所定値T0(DLY=T0、T0
<T2)に設定し、#1060へ進む。#1060から
#1070はAF許可信号が禁止になった時のモータ停
止処理である。#1060ではAF許可信号(AF)が
許可(ON)であるかテストし、許可の場合は、停止処
理は行なわず、#1075へ抜ける。禁止の場合は、#
1065で現在AFモータが駆動中であるかテストし、
停止中の場合は、停止処理は行なわず、#1075へ抜
ける。駆動中の場合は、#1070でAFモータの駆動
を停止するとともに駆動状態フラグをリセット(MOV
FLGをOFF)して#1075へ進む。#1075か
ら#1090は駆動ディレイ時間の計時及びディレイ終
了処理のブロックである。#1075で駆動ディレイ中
であるか(DLYFLGがON)テストし、ディレイ中
でない場合は、そのまま#1095へ抜ける。ディレイ
中である場合は、#1080で駆動ディレイ時間を1だ
け減ずる(DLY=DLY−1)。タイマー割込が1ms
毎にかかり、ディレイ時間が55msであった場合には、
DLY=55が#1045でセットされ、これがタイマ
ー割込ごとに1だけ減ぜられるので55ms後に0にな
る。#1085では、駆動ディレイが終了したか(DL
Y=0)テストし、終了していない場合にはそのまま、
#1095へ抜ける。終了した場合には、#1090で
AFモータの駆動を停止するとともに、駆動ディレイフ
ラグをリセット(DLYFLGをOFF)、駆動状態フ
ラグをリセット(MOVFLGをOFF)して、#10
95へ進む。#1095から#1125はレンズ端処理
のブロックで通常の駆動においてはレンズ端でのモータ
停止及びスキャン駆動においてはレンズ端での駆動反転
を行なう。#1095でレンズ端であるか(ECNT=
ELST)テストする。タイマー割込は所定時間毎に行
なわれるので、レンズ端においてパルスが発生しない場
合には、パルスカウンタの内容が増加せず、前回のタイ
マー割込等のパルスカウンタの内容(ELST)と今回
のタイマー割込時のパルスカウンタの内容(ECNT)
が一致する。
On the other hand, when the tracking mode is not set, the delay time is set to a predetermined value T0 (DLY = T0, T0) so that the driving ends before the mirror-up operation of the main CPU ends.
<T2), and the process proceeds to # 1060. Steps # 1060 to # 1070 are motor stop processing when the AF permission signal is disabled. In step # 1060, it is tested whether the AF permission signal (AF) is permitted (ON). If the signal is permitted, the process proceeds to step # 1075 without performing the stop process. If prohibited, #
At 1065, it is tested whether the AF motor is currently being driven,
If it is stopped, the process goes to # 1075 without performing the stop process. If the motor is being driven, the driving of the AF motor is stopped at # 1070 and the driving state flag is reset (MOV
FLG is turned off), and the process proceeds to # 1075. Steps # 1075 to # 1090 are blocks for timing of the drive delay time and delay end processing. In step # 1075, a test is performed to determine whether a drive delay is being performed (DLYFLG is ON). If the drive delay is not being performed, the process directly proceeds to step # 1095. If the delay is in progress, the drive delay time is reduced by 1 in # 1080 (DLY = DLY-1). 1ms timer interrupt
If the delay time is 55ms,
DLY = 55 is set at # 1045 and becomes 0 after 55 ms because it is decremented by 1 for each timer interrupt. In # 1085, whether the drive delay has ended (DL
Y = 0) Test, if not finished,
Exit to # 1095. When the process is completed, the drive of the AF motor is stopped in # 1090, the drive delay flag is reset (DLYFLG is turned off), the drive state flag is reset (MOVFLG is turned off), and # 1090 is executed.
Go to 95. Steps # 1095 to # 1125 are lens end processing blocks which stop the motor at the lens end in normal driving and drive reversal at the lens end in scan driving. In # 1095, is it the lens end (ECNT =
ELST) test. Since the timer interrupt is performed at predetermined time intervals, if no pulse is generated at the lens end, the contents of the pulse counter do not increase, and the contents of the pulse counter (ELST) such as the previous timer interrupt and the current timer are used. Contents of pulse counter at interrupt (ECNT)
Matches.

【0075】従って、パルスカウンタ内容の一致不一致
に従ってレンズ端か否かの判定ができる。#1095で
レンズ端でなかった場合には、#1115へ抜ける。レ
ンズ端であった場合は、#1100でスキャン中である
か(SCAFLGがON)テストする。スキャン中でな
い場合は、#1125の停止処理に進む。スキャン中の
場合は、#1105でレンズ端に到達した回数が所定値
LX(例えば2)となっている(LCOUNT=LX)
テストする。所定値LXになっいる場合は、スキャンが
終了したと判断して、#1120へ進み、スキャンフラ
グをリセット(SCAFLGをOFF)、スキャン禁止
フラグをセット(NSCFLGをON)にして、スキャ
ン終了処理を行ない、#1125へ進む。#1125
は、通常駆動におけるレンズ端及びスキャン終了時に実
行されAFモータの駆動を停止するとともに、駆動状態
フラグをリセット(MOVFLGをOFF)し、#11
30へ進み、メインプログラムへリターンする。一方、
#1105でレンズ端カウンタが所定値LXに達してい
ない場合にはスキャン駆動方向を反転するために#11
10へ進み、レンズ端カウンタの内容を1だけ増加させ
(LCOUNT=LCOUNT+1)AFモータの駆動
方向を反転させ、#1115に進む。#1115では、
最終パルスカウンタの内容を更新(ELST=ECN
T)して#1130でメインプログラムへリターンす
る。
Accordingly, it can be determined whether or not the lens is at the lens end in accordance with the coincidence or disagreement of the contents of the pulse counter. If it is not the lens end in # 1095, the process goes to # 1115. If it is at the lens end, a test is performed at # 1100 to determine whether scanning is in progress (SCAFLG is ON). If the scanning is not being performed, the process proceeds to stop processing of # 1125. In the case of scanning, the number of times of reaching the lens end in # 1105 is a predetermined value LX (for example, 2) (LCOUNT = LX).
Testing. If the predetermined value LX has been reached, it is determined that the scan has been completed, and the process proceeds to # 1120, where the scan flag is reset (SCAFLG is turned off), the scan prohibition flag is set (NSCFLG is turned on), and the scan end processing is performed. And proceed to # 1125. # 1125
Is executed at the lens end in normal driving and at the end of scanning, driving of the AF motor is stopped, the driving state flag is reset (MOVFLG is turned off), and # 11 is executed.
Proceed to 30 and return to the main program. on the other hand,
If the lens end counter has not reached the predetermined value LX in # 1105, # 11 is performed to reverse the scan driving direction.
The process proceeds to step 10, where the content of the lens end counter is increased by 1 (LCOUNT = LCOUNT + 1), the driving direction of the AF motor is reversed, and the process proceeds to # 1115. In # 1115,
Update the contents of the last pulse counter (ELST = ECN
T) Then, the process returns to the main program in # 1130.

【0076】図27は、パルスカウンタ割込プログラム
のフローチャートである。パルスカウンタ割込は、エン
コーダ52の発生するパルスの累積数(ECNT)が
(10) 駆動制御モジュールで計算した予定パルス数(E
TM)に一致した時に行なわれる割込であって、撮影レ
ンズの合焦位置への移動が完了した後のAFモータの駆
動停止処理を行なう。#1140では、AFモータの駆
動を停止し、#1145で駆動状態フラグをリセット
(MOVFLGをOFF)して、#1150でこれ以降
のパルスカウンタ割込がかからないように割込を禁止し
て#1155で、メインプログラムにリターンする。
FIG. 27 is a flowchart of the pulse counter interrupt program. The pulse counter interrupt indicates that the cumulative number of pulses (ECNT) generated by the encoder 52 is the expected number of pulses (E) calculated by the drive control module (10).
TM), which is an interruption that is performed when the movement of the photographing lens to the in-focus position is completed. In step # 1140, the driving of the AF motor is stopped. In step # 1145, the drive state flag is reset (MOVFLG is turned off). Then, return to the main program.

【0077】以上が、AFCPUのメインプログラムの
各モジュール及び割込プログラムの説明であり、各モジ
ュール及び割込プログラムが連結して、焦点検出及びA
Fモータの駆動が制御される。本実施例の説明において
は、AFCPUのプログラムの(7)追尾アルゴリズムに
おいて、今回の追尾デフォーカス量と前回の追尾デフォ
ーカス量の和の絶対値(|PRED+PLST|)と所
定値δを比較して追尾動作を行なうか否かを決定してい
た(#490の分岐)。上記のようにして、移動被写体
であるか否かを判定し、それに応じて追尾動作を行なう
か否かを決定する理由について以下詳細に説明する。従
来、被写体が移動しているか否かの判定は、過去及び現
在のデフォーカス量に基づいて、デフォーカス検出のサ
イクルの間の被写体移動を加味したデフォーカス量とし
て現在の追尾デフォーカス量を求め、該現在の追尾デフ
ォーカス量と所定値とを比較することにより行なわれて
いた。例えば、現在の追尾デフォーカス量PRED
(0)、所定値δとする|PRED(0)|≧δの場合
は、移動被写体と判定し、|PRED(0)|<δの場
合は移動被写体でないと判定する。
The above is the description of each module and the interrupt program of the main program of the AFCPU.
The driving of the F motor is controlled. In the description of the present embodiment, in the (7) tracking algorithm of the AFCPU program, the absolute value (| PRED + PLST |) of the sum of the current tracking defocus amount and the previous tracking defocus amount is compared with a predetermined value δ. It has been determined whether or not to perform a tracking operation (branch of # 490). The reason for determining whether or not the subject is a moving subject and determining whether or not to perform a tracking operation in accordance with the determination as described above will be described in detail below. Conventionally, whether or not a subject is moving is determined based on the past and current defocus amounts by calculating a current tracking defocus amount as a defocus amount taking into account subject movement during a cycle of defocus detection. This is performed by comparing the current tracking defocus amount with a predetermined value. For example, the current tracking defocus amount PRED
(0) If | PRED (0) | ≧ δ is the predetermined value δ, it is determined that the object is a moving object. If | PRED (0) | <δ, it is determined that the object is not a moving object.

【0078】図28を用いて、従来の追尾動作及び移動
被写体の判定について説明する。図28において実線は
移動被写体に対してその像を常時フィルム面へ合致させ
るための撮影レンズの動きの軌跡を示し、一点鎖線は実
際の撮影レンズの動きの軌跡を示し、又焦点検出のため
のセンサーの電荷蓄積及び焦点検出演算は撮影レンズを
停止して行なうとともに、センサーの電荷蓄積(図28
においては蓄積時間T(0))は駆動終了後すぐに行な
われるものとしている。追尾動作におていは撮影レンズ
の駆動量は焦点検出により得られたデフォーカス量に、
追尾補正量を加えて求めており、例えば図において現在
より1回前の駆動においてその駆動量DRIV(−1)
は1回前のデフォーカス量DEF(−1)(図において
実線と一点鎖線の差に相当する)と1回前の追尾補正量
COMP(−1)の和として算出される。又駆動が終了
した時点で得られる現在のデフォーカス量DEF(0)
と前回の追尾補正量COMP(−1)の和である追尾デ
フォーカス量PRED(0)は図より明らかなように焦
点検出の1サイクル(前回のセンサー蓄積から今回のセ
ンサー蓄積までの周期)に実線で示す撮影レンズの動き
量即ち被写体の移動量に対応しており、追尾デフォーカ
ス量PRED(0)の絶対値が所定値以上あることをも
って被写体が移動していると判定することができるわけ
である。
Referring to FIG. 28, a conventional tracking operation and determination of a moving subject will be described. In FIG. 28, the solid line indicates the trajectory of the movement of the photographing lens for making the image of the moving subject always coincide with the film surface, the chain line indicates the trajectory of the actual movement of the photographing lens, and The charge accumulation and the focus detection calculation of the sensor are performed while the photographing lens is stopped, and the charge accumulation of the sensor (FIG. 28)
In (2), the accumulation time T (0) is set immediately after the driving is completed. In the tracking operation, the driving amount of the taking lens is the defocus amount obtained by focus detection,
The tracking correction amount is calculated by adding the tracking correction amount.
Is calculated as the sum of the immediately preceding defocus amount DEF (-1) (corresponding to the difference between the solid line and the dashed line in the figure) and the immediately preceding tracking correction amount COMP (-1). Also, the current defocus amount DEF (0) obtained at the end of driving.
The tracking defocus amount PRED (0), which is the sum of the previous tracking correction amount COMP (-1) and the previous tracking correction amount COMP (-1), is evident in one cycle of focus detection (the period from the previous sensor accumulation to the current sensor accumulation), as is clear from the figure. It corresponds to the movement amount of the photographing lens indicated by the solid line, that is, the movement amount of the subject, and it can be determined that the subject is moving when the absolute value of the tracking defocus amount PRED (0) is equal to or more than a predetermined value. It is.

【0079】しかしながら、上記のようにして現在の追
尾デフォーカス量を単独で所定値と比較することによ
り、移動被写体の判定を行なうと、デフォーカス量DE
F(0)に含まれる誤差のために誤判定してしまうこと
があった。特に被写体の動きが微小な場合には、追尾デ
フォーカス量PRED(0)に占める誤差の割合が相対
的に大きくなるため、被写体が一定の動きをしていても
追尾動作に入ったり抜けたりをくり返し撮影レンズの動
きが不安定になってしまった。又上記のように、現在の
追尾デフォーカス量を単独で所定値と比較すると被写体
の動きの量を検知するサイクルが1サイクルだけの短か
いものとなるので、被写体のランダムノイズ的な動きに
影響されて被写体移動の判定を誤まったり、微小な被写
体の動きを検出できなかった。又焦点検出サイクルが変
動した場合にも、その変動の影響を受けて誤判定してし
まう可能性が高かった。本実施例では上述の従来の問題
点を解決するために追尾デフォーカス量を単独に所定値
と比較せずに、前述のように今回の追尾デフォーカス量
と前回の追尾デフォーカス量の和をとってその絶対値と
所定値δを比較して、移動被写体の判定を行なうことに
より、追尾デフォーカス量に含まれる誤差、被写体のラ
ンダムノイズ的動き、焦点検出サイクルの変動等の影響
を統計的に軽減し、安定な動作を可能にしているわけで
ある。
However, when the moving subject is determined by comparing the current tracking defocus amount alone with a predetermined value as described above, the defocus amount DE
In some cases, an erroneous determination was made due to an error included in F (0). In particular, when the movement of the subject is minute, the ratio of the error in the tracking defocus amount PRED (0) becomes relatively large. The movement of the photographic lens has become unstable repeatedly. Also, as described above, if the current tracking defocus amount is compared with a predetermined value alone, the cycle of detecting the amount of movement of the subject is as short as one cycle, which may affect the random noise movement of the subject. As a result, the determination of the movement of the subject is erroneous, and the movement of the minute subject cannot be detected. Further, even when the focus detection cycle fluctuates, there is a high possibility that an erroneous determination is made under the influence of the fluctuation. In this embodiment, in order to solve the above-described conventional problem, the sum of the current tracking defocus amount and the previous tracking defocus amount is calculated without comparing the tracking defocus amount alone with a predetermined value as described above. By comparing the absolute value with a predetermined value δ to determine a moving subject, the effects of errors included in the tracking defocus amount, random noise-like motion of the subject, and fluctuations in the focus detection cycle are statistically determined. This enables stable operation.

【0080】一般的には実施例の#490の処理のかわ
りに追尾デフォーカス量に対して統計平均処理を施こし
た結果と、所定値δとを比較することにより移動被写体
の判定を行なうことができる。例えば今回の追尾デフォ
ーカス量をPRED(0)、今回からn回前の追尾デフ
ォーカス量をPRED(n)(nは正の整数)とした
時、(10)式に示すような統計処理を施こした判定を
#490で行ってもかまわない。 |k(0)×PRED(0)+k(1)×PRED(1)+・・・・ +k(n)×PRED(n)+・・・・k(N)×PRED(N)|>δ …(10) (10)式においてk(n)は所定の重み係数、Nは任
意の整数である。実施例は(10)式においてN=1、
k(0)=k(1)=1とした場合である。(10)式
において任意の整数Nを適当に選ぶことにより、被写体
の移動量を検出するための期間(N×サイクルタイム)
を選択することができる。又重み係数k(n)は最新の
追尾デフォーカス量により重みを付けて応答性を高める
ために(11)式のように設定してもよい。 k(0)>k(1)>…k(n)>…>k(N) …(11) 又重み係数k(N)を追尾デフォーカス量PRED
(n)を算出した時のデフォーカス量演算で求められた
パラメータSLOP(n)やコントラスト値CONT
(n)に比例して(12)式の如く設定してもよい。 k(n)=k×SLOP(n)又はk×CONT(n) …(12) (12)式においてkは所定の定数である。(12)式
のように設定することにより追尾デフォーカス量が信頼
度に比例した重み付けで平均化されるので、より確度の
高い移動被写体の判定ができる。又、追尾デフォーカス
量PRED(n)が求められる場合の焦点検出サイクル
タイム(図28において1回の駆動が終了した時点から
次の駆動が終了した時点に相当する)の変動をキャンセ
ルするために各サイクルタイムT(n)を測定しこれを
用いて(13)式のように、重み係数k(n)を決める
こともできる。
In general, a moving subject is determined by comparing a result obtained by performing a statistical averaging process on the tracking defocus amount instead of the process of # 490 in the embodiment with a predetermined value δ. Can be. For example, when the current tracking defocus amount is PRED (0) and the tracking defocus amount n times before this time is PRED (n) (n is a positive integer), a statistical process as shown in Expression (10) is performed. The determination made may be made in # 490. | K (0) × PRED (0) + k (1) × PRED (1) +... + K (n) × PRED (n) +... K (N) × PRED (N) |> δ (10) In the equation (10), k (n) is a predetermined weighting factor, and N is an arbitrary integer. In the embodiment, N = 1 in the equation (10),
This is the case where k (0) = k (1) = 1. A period (N × cycle time) for detecting the moving amount of the subject by appropriately selecting an arbitrary integer N in the equation (10).
Can be selected. Also, the weight coefficient k (n) may be set as in equation (11) in order to increase the responsiveness by weighting with the latest tracking defocus amount. k (0)> k (1)>... k (n) >>...> k (N) (11) Also, the weighting coefficient k (N) is determined by the tracking defocus amount PRED.
The parameter SLOP (n) and the contrast value CONT obtained by the defocus amount calculation at the time of calculating (n)
It may be set as in equation (12) in proportion to (n). k (n) = k × SLOP (n) or k × CONT (n) (12) In the equation (12), k is a predetermined constant. By setting as in equation (12), the tracking defocus amount is averaged with a weight proportional to the reliability, so that a moving object with higher accuracy can be determined. Also, in order to cancel the fluctuation of the focus detection cycle time (corresponding to the time when one drive ends in FIG. 28 from the time when the next drive ends) when the tracking defocus amount PRED (n) is obtained. Each cycle time T (n) can be measured and used to determine the weighting coefficient k (n) as in equation (13).

【数7】 (13)式においてkは所定の定数である。(13)式
のように設定し、(10)式の統計平均処理を行なうこ
とにより各重み係数×追尾デフォーカス量は単位時間当
りの追尾デフォーカス量となるのでサイクルタイムの変
動の影響のないものとなる。
(Equation 7) In the equation (13), k is a predetermined constant. By setting as shown in equation (13) and performing the statistical averaging processing of equation (10), each weighting factor × tracking defocus amount becomes the tracking defocus amount per unit time, so there is no influence of cycle time fluctuation. It will be.

【0081】上述のように追尾デフォーカス量に統計平
均処理を行ないその結果に応じて、移動被写体であるか
否かの判定を行うことにより、追尾デフォーカス量に含
まれる誤差、被写体のランダムノイズ的動き、焦点検出
サイクルの変動(特に追尾中に撮影動作が途中から入っ
た場合等に起こる)の影響を軽減し安定な追尾動作を可
能にするとともに、上記誤差の影響が軽減した分所定値
δを小さく設定でき従ってより微小な被写体の動きに対
しても移動被写体と判定して追尾動作に入れることがで
き追尾性能の向上が期待できる。本発明の特徴の1つ
に、レリーズ全押後は、レンズ駆動開始から第1所定時
間T1後にミラーアップを開始させ、レンズ駆動時間の
多少によらずに露光の周期、蓄積の周期等のサイクルタ
イムを一定に保ち、常に露光の瞬間にピントの合った写
真がとれる追尾技術があり、その点について追加的な説
明を行なう。連写中の追尾動作については、次の様なシ
ークエンスとなる。即わち、ミラーアップ、露光、ミラ
ーダウン、電荷蓄積、演算、レンズ駆動がくり返され
る。このうちミラーアップとミラーダウンの時間50〜
100msは同一機種では常に一定で変動しない。又露光
時間は連写中はほぼ一定であるし、そもそも追尾を行な
う明るい条件では時間的に短く30ms程度以下なのでバ
ラツキには寄与しない。又蓄積時間も被写体の明るさに
依存するが連写中はほぼ一定であり、通常の明るさでは
30ms程度以下なのでバラツキへの寄与は小さい。演算
時間もその焦点検出システムにより多少ことなるが20
ms〜100msの間の一定値となり、連写中のバラツキは
小さい。
As described above, the statistical averaging process is performed on the tracking defocus amount to determine whether or not the subject is a moving subject. And the fluctuation of the focus detection cycle (especially when the shooting operation enters the middle during the tracking etc.) to reduce the influence of the error, and reduce the influence of the error. Therefore, δ can be set small, so that the movement of a finer subject can be determined as a moving subject and can be included in the tracking operation, so that improvement in tracking performance can be expected. One of the features of the present invention is that after the release is fully pressed, the mirror-up is started after a first predetermined time T1 from the start of the lens driving, and the cycle of the exposure, the cycle of the accumulation, etc. is independent of the lens driving time. There is a tracking technology that keeps the time constant and can always take a picture that is in focus at the moment of exposure. The tracking operation during continuous shooting has the following sequence. That is, mirror up, exposure, mirror down, charge accumulation, calculation, and lens driving are repeated. Mirror up and mirror down time 50 ~
100 ms is always constant and does not fluctuate in the same model. Also, the exposure time is substantially constant during continuous shooting, and does not contribute to variation since it is short in time and about 30 ms or less under bright conditions for tracking. The accumulation time also depends on the brightness of the subject, but is substantially constant during continuous shooting, and has a small contribution to variation because it is about 30 ms or less at normal brightness. The calculation time also varies slightly depending on the focus detection system, but 20.
The constant value is between ms and 100 ms, and the variation during continuous shooting is small.

【0082】これに対してレンズの駆動時間は追尾のた
めに駆動するデフォーカス量に応じて0ms〜100ms以
上の範囲で変動する。ミラーアップ、露光、ミラーダウ
ン、蓄積、演算、レンズ駆動、で1サイクルとし従来通
りシークエンスを組むと次のサイクルに関するミラーア
ップ開始は前回のレンズ駆動終了後となる。1サイクル
の時間がおよそ300ms前後(秒3コマ)とすると駆動
の時間の長短で1サイクルの時間が例えば250ms〜3
50msと大きく変動する可能性が生まれる。追尾におい
ては次回の露光の瞬間に合焦状態になるように次の方法
を用いることができる。過去の1サイクルの蓄積周期
と、その間の被写体移動による像面移動量(PRED)
と、最終の蓄積期間の中点から次回露光予定時間の中点
までの時間とを用いて、その間の追尾補正量(COM
P)を
On the other hand, the driving time of the lens fluctuates in the range of 0 ms to 100 ms or more according to the defocus amount driven for tracking. If one cycle is comprised of mirror up, exposure, mirror down, accumulation, calculation, and lens driving, and a sequence is formed as before, the mirror up for the next cycle starts after the previous lens driving ends. Assuming that one cycle time is about 300 ms (three frames per second), one cycle time is, for example, 250 ms to 3 depending on the length of driving time.
There is a possibility that it may fluctuate as much as 50 ms. In tracking, the following method can be used so as to be in focus at the moment of the next exposure. The past one accumulation cycle and the image plane movement amount due to the movement of the subject during that period (PRED)
And the time from the midpoint of the last accumulation period to the midpoint of the next scheduled exposure time, and the tracking correction amount (COM
P)

【数8】 で算出し最終のデフォーカス量DEFに上記追尾補正量
COMPを加えた値を追尾駆動量として駆動するという
ものである。もし駆動の終了に合わせてミラーアップを
行なうとすると、上式の分母のみならず分子に関しても
駆動時間によって100ms位のバラツキが生じることに
なり、例えば分子は150ms〜250msの範囲でバラツ
クことになる。駆動時間に関してはあらかじめ知る事が
できないので、駆動の終了にもどずいてミラーアップを
開始する方法では、分母分子のバラツキが大きくなり適
正なαを決定できず、従って効果的な追尾を行なうこと
ができない。
(Equation 8) And the value obtained by adding the above-mentioned tracking correction amount COMP to the final defocus amount DEF is driven as the tracking drive amount. If the mirror is raised at the end of the driving, the driving time will cause a variation of about 100 ms not only in the denominator of the above equation but also in the numerator, for example, the numerator will vary in the range of 150 ms to 250 ms. . Since the driving time cannot be known in advance, in the method of starting mirror-up by returning to the end of driving, the variation of the denominator and numerator becomes large and it is not possible to determine an appropriate α, so that effective tracking can be performed. Can not.

【0083】そこで本発明では駆動時間に関係なく、駆
動中であろうが駆動が完了していようが、駆動開始から
第1の所定時間T1後にミラーアップを開始するように
している。これによって前式の分母、分子ともほぼ一定
値となり、このようにして定められたαの値を用いて追
尾補正量COMPを算出するので、次回の露光の瞬間に
確実に合焦状態を実現することが可能である。又ミラー
ダウン後フィルム巻上を行なうため電源容量が不足し
て、フィルム巻上とレンズ駆動を同時に行ない得ず、演
算が終了していてもフィルム巻上完了後にレンズ駆動を
行なう場合でも、連写の間フィルム巻上時間がほぼ一定
なのでこの場合でもサイクルタイムの変動はなく問題は
ない。
Therefore, in the present invention, regardless of the driving time, the mirror-up operation is started after a first predetermined time T1 from the start of driving, regardless of whether the driving is being performed or the driving is completed. As a result, both the denominator and the numerator of the above equation become substantially constant, and the tracking correction amount COMP is calculated using the value of α determined in this manner, so that the in-focus state is reliably realized at the moment of the next exposure. It is possible. Also, since the film is wound up after the mirror is lowered, the power supply capacity is insufficient, so that film winding and lens driving cannot be performed at the same time. Since the film winding time is substantially constant during this period, there is no problem even in this case because the cycle time does not fluctuate.

【0084】即わち要点を順序だててまとめると、撮影
レンズのデフォーカス量をくり返し算出する焦点検出手
段と、過去及び現在のデフォーカス量にもとずいてデフ
ォーカス検出のサイクル間の被写体移動に伴なうデフォ
ーカス量である追尾デフォーカス量(PRED)を算出
し、これから追尾のための追尾補正量(COMP)を算
出する追尾補正量算出手段と、現在のデフォーカス量
(DEF)に追尾補正量(COMP)を加えた追尾駆動
量(DRIV)にもとずいて撮影レンズの駆動を行なう
レンズ駆動手段とがあり、又ミラーアップや蓄積、駆動
のタイミングをコントロールする手段を制御手段とする
と、制御手段は、レリーズ全押後に関してはミラーアッ
プ、露光、ミラーダウン、蓄積、演算、駆動のサイクル
において、レンズ駆動開始後第1所定時間T1の経過後
にミラーアップを行なわれるように制御する。
That is, when the essential points are put together in order, the focus detection means for repeatedly calculating the defocus amount of the photographing lens, and the subject during the defocus detection cycle based on the past and current defocus amounts A tracking correction amount calculating means for calculating a tracking defocus amount (PRED), which is a defocus amount accompanying the movement, and calculating a tracking correction amount (COMP) for tracking based on the calculated defocus amount, and a current defocus amount (DEF) Lens driving means for driving the photographing lens based on a tracking drive amount (DRIV) obtained by adding a tracking correction amount (COMP) to the camera, and means for controlling mirror-up, accumulation, and drive timing. In this case, the control means controls the lens drive in the cycle of mirror up, exposure, mirror down, accumulation, calculation, and drive after the release is fully pressed. Control as is done with mirror-up after a first predetermined time T1 after the start.

【0085】さらに前記制御手段は、レンズの駆動可能
な時間を所定最大時間(T1+T2)に限定し、従って
ミラーアップからT2時間経過後もレンズ駆動が終了し
ていない時にはレンズを強制的に停止させる。ここで、
T2はミラーアップ開始から露光が始まるまでの時間と
同程度、好ましくは露光の直前に駆動がほぼ停止してい
る程度の時間である。所定最大駆動時間(T1+T2)
はその時間内にデフォーカス量3〜4mm分を完全に駆動
できる時間にとる事が望ましく例えば100ms前後とな
る。この場合ほぼミラーアップ時間に等しいT2が50
msec程度であればT1〜50msec程度となる。又前記所
定最大時間内で駆動が終了せず強制停止となった場合に
は駆動の残量を調べ、これが所定値を越える時には次回
は追尾の補正を行なわないようにするのがよい。こうす
ることにより動体の動き方によっては追尾動作に付随し
て生じるオーバーランを避けるとともに、オーバーラン
した場合でもそこからの回復を早めることができる。又
本発明では連写中のミラーアップ動作のサイクルの中に
必ず1回の焦点検出動作を含むように構成しているが、
これは露光及び蓄積のサイクルを毎回一定して、次回露
光時のレンズ位置の予測をしやすくする為である。勿論
露光終了後蓄積開始までの時間は常に一定となるように
制御手段によりコントロールされている。
Further, the control means limits the time during which the lens can be driven to a predetermined maximum time (T1 + T2). Therefore, when the lens driving is not completed even after the lapse of T2 from the mirror-up, the lens is forcibly stopped. . here,
T2 is approximately the same as the time from the start of the mirror up to the start of the exposure, and preferably, the time during which the driving is almost stopped immediately before the exposure. Predetermined maximum drive time (T1 + T2)
It is preferable to set a time for completely driving the defocus amount of 3 to 4 mm within that time, for example, about 100 ms. In this case, T2 which is almost equal to the mirror-up time is 50
If it is about msec, it will be about T1 to 50 msec. If the driving is not completed within the predetermined maximum time and the driving is stopped forcibly, the remaining amount of the driving is checked, and if it exceeds a predetermined value, the tracking correction should not be performed next time. By doing so, it is possible to avoid overrun that accompanies the tracking operation depending on the manner of movement of the moving object, and to speed up recovery from the overrun even when overrun occurs. Further, in the present invention, the configuration is such that one cycle of the focus detection operation is always included in the cycle of the mirror-up operation during continuous shooting.
This is to make the cycle of exposure and accumulation constant each time and to easily predict the lens position at the next exposure. Of course, the time from the end of exposure to the start of accumulation is controlled by the control means so as to be always constant.

【0086】本発明では駆動の最大時間を決め、その時
間内に必要な駆動量を達成すれば、駆動時間の長短によ
らず、露光の瞬間に合焦を達成できる。従って複雑な時
間のコントロールや駆動速度のコントロールが不用であ
り、交換レンズの種類によって負荷が異なり駆動スピー
ドが大きく異なる時でも対処で容易である。
In the present invention, if the maximum drive time is determined and the required drive amount is achieved within that time, focusing can be achieved at the moment of exposure regardless of the length of the drive time. Therefore, complicated time control and drive speed control are unnecessary, and it is easy to cope with the case where the load varies depending on the type of the interchangeable lens and the drive speed greatly varies.

【表2】 [Table 2]

【表3】 [Table 3]

【表4】 [Table 4]

【表5】 表 5 <追尾動作を行う条件> (1) 追尾モードである (2) ローコントラストでない (3) 信頼性が有る (4) スキャン中でない (5) 前回駆動した (6) 駆動方向反転しなかった (7) デフォーカス量と最終追尾デフォーカス量が同符
号、または異符号でもデフォーカス量が小さい (8) 追尾デフォーカス量と最終追尾デフォーカス量が
同符号 (9) 追尾デフォーカス量と最終追尾デフォーカス量の
和の絶対値が所定値δ以上 (10) 追尾デフォーカス量が所定値r*最終追尾デフォ
ーカス量以下 (11) 追尾デフォーカス量が所定値k*最終追尾デフォ
ーカス量以上 以上の様に第1の発明によれば、撮影レンズの駆動方向
が反転した後、所定回数の駆動において追尾駆動を禁止
しているので、合焦点近傍で無用に追尾駆動に入りハン
チングを起こすことがなく、安定性が高く、しかも、被
写体に対する追従性も高い自動焦点装置を提供すること
ができる。
[Table 5] Table 5 <Conditions for performing tracking operation> (1) Tracking mode (2) Low contrast (3) Reliable (4) Not scanning (5) Driving last time (6) Driving direction not reversed (7) The defocus amount and the final tracking defocus amount have the same sign, or the defocus amount is small even if the sign is different. (8) The tracking defocus amount and the final tracking defocus amount have the same sign. (9) The tracking defocus amount and the final The absolute value of the sum of the tracking defocus amounts is equal to or more than a predetermined value δ. (10) The tracking defocus amount is equal to or less than a predetermined value r * the final tracking defocus amount. (11) The tracking defocus amount is equal to or more than the predetermined value k * the final tracking defocus amount. As described above, according to the first aspect, after the driving direction of the photographing lens is reversed, the tracking drive is prohibited in the predetermined number of times of driving, so that the tracking drive is unnecessarily entered near the focal point and hunting occurs. But Ku, high stability, moreover, it is possible to provide an automatic focusing device high followability to the object.

【0087】(第2実施例)本発明の第2実施例は、第
1実施例とほとんど同様の構成であり、第1実施例の追
尾補正量をより正確に得られるように構成したものであ
る。以下、図17、20、29に基づき説明する。まず
レリーズ全押前、直後、1回ミラーアップ後に関する識
別と補正の要点を述べる。図20のごとく、レリーズ全
押前までの駆動、全押直後の駆動、全押後2回目の駆
動、全押後3回目以降の駆動及びそれらに先だつ追尾補
正書の算出の時期を識別する手段を設け、それにより上
記識別結果をそれぞれ図17のPCOUNT=0,1,
2,3とする。全押前(PCOUNT0)では蓄積、演
算、駆動のサイクルタイムはFOで一定しており、前記
追尾デフォーカス量(PRED)から前記追尾補正量
(COMP)を算出するには、 COMP=PRED×α で例えばα=1とすることができる。つまり全押前では
蓄積の中点で毎回合焦することを目的とすると、前回の
蓄積間のサイクルタイム=F0、次回のそれの予定時間
までの間隔もF0なのでα=F0/F0=1となるから
である。全押後では駆動と蓄積の間にミラーアップに伴
なう露光が入るので蓄積のサイクルタイムが変わる。又
全押後では合焦の最適化の瞬間が蓄積の中点から露光の
中点(中点とは中央時の意味)に変わる。従って露光時
合焦とするため追尾補正量(COMP)は COMP=PRED×α
(Second Embodiment) The second embodiment of the present invention has almost the same configuration as the first embodiment, and is configured so that the tracking correction amount of the first embodiment can be obtained more accurately. is there. Hereinafter, description will be made with reference to FIGS. First, the points of identification and correction before and immediately after the release is fully pressed and after one mirror-up operation will be described. As shown in FIG. 20, means for discriminating the drive up to the full press of the release, the drive immediately after the full press, the second drive after the full press, the drive after the third press after the full press, and the timing of calculating the tracking correction document preceding them. , So that the above-mentioned identification results can be obtained by PCOUNT = 0, 1, 1 in FIG.
2, 3. Before the full pressing (PCOUNT0), the cycle time of accumulation, calculation, and driving is constant at FO. To calculate the tracking correction amount (COMP) from the tracking defocus amount (PRED), COMP = PRED × α Can be set to, for example, α = 1. In other words, if the aim is to focus each time at the middle point of the accumulation before full pressing, the cycle time between the previous accumulation = F0 and the interval until the next scheduled time are also F0, so α = F0 / F0 = 1. Because it becomes. After the full pressing, the exposure accompanying the mirror-up is inserted between the driving and the accumulation, so that the accumulation cycle time changes. After full pressing, the moment of optimization of focusing changes from the middle point of accumulation to the middle point of exposure (the middle point means the center time). Therefore, the tracking correction amount (COMP) is COMP = PRED × α in order to focus on exposure.

【数9】 となる。従って全押直後(PCOUNT1)においては(Equation 9) Becomes Therefore, immediately after full pressing (PCOUNT1)

【数10】 で決まる値となる。全押後ミラーアップが間に入った2
回目の駆動に先だつ計算の時期(PCOUNT2)にお
いては
(Equation 10) Is determined by Mirror up after pressing all 2
At the time of calculation (PCOUNT2) prior to the second drive,

【数11】 である。さらに全押後3回目以降の駆動に先だつ計算の
時点(PCOUNT3)では
[Equation 11] It is. Further, at the time of calculation (PCOUNT3) prior to the third and subsequent drive after full pressing,

【数12】 となる。(Equation 12) Becomes

【0088】このように上記αの算出式にもとずいてα
を算出し追尾補正量を求めれば正確な追尾が可能であ
る。ここで分母の時間は過去の量なので値が確定してい
るが、分子は未来の量なので値が確定していない。この
うち一番不確定なのはレンズ駆動時間であるが、とりあ
えずα=1としておよその駆動量(DRIV)が算出さ
れたら、その駆動時間のおよその目安はわかるので、そ
れより少し余裕を見て駆動時間を定めればそれに続く露
光の瞬間までの時間が決定でき、従って前式の分子にあ
たる「最後の蓄積から次の露光までの時間」が定められ
る。この場合ミラーアップ開始は予定露光の瞬間からミ
ラーアップ時間だけ午前の瞬間にミラーアップ指示を行
なう事で達成される。実際問題としては実施例記載のご
とく、レリーズ後はレンズ駆動時間の最大値を一定に決
めてしまい、駆動開始後一定時間(T1)後にミラーア
ップを開始するようにすれば扱いが簡単となり好まし
い。このようにすればPCOUNT3以降についてはα
は同一値となる。又PCOUNT2と3では場合によっ
てαは同一値にも異なった値にもなるがこれは分子はF
2′=F3′であるが分母がF1=F2の時とF1≠F
2の時とあるからである。蓄積・演算後すぐにレンズ駆
動が始まる場合はF1=F2であるが、演算終了後もフ
ィルム巻上終了までレンズ駆動ができないとするとF1
≠F2となる。一般にPCOUNT0,1,2では最適
なαの値は異なってくるが、ミラーアップ時間その他の
設計的変動要因でその具体的値が異なってくる。αの最
適な値は前記αを算出する式にもとずいて決めてもよい
し、実験的に決めてもよい。こうして決められたαを用
いて実施例ではPCOUNT0,1,2,3を識別し、
αのテーブル(図17)を参照して最適な値を決定する
ようにしている。
As described above, based on the above equation for calculating α, α
Is calculated and the tracking correction amount is obtained, accurate tracking is possible. Here, the denominator time is a past quantity, so the value is fixed, but the numerator is a future quantity, so the value is not fixed. Of these, the most uncertain is the lens drive time. However, if the approximate drive amount (DRIV) is calculated assuming α = 1, an approximate guide of the drive time can be obtained. When the time is determined, the time until the instant of the subsequent exposure can be determined, and therefore, the “time from the last accumulation to the next exposure”, which is the numerator of the above equation, is determined. In this case, the mirror-up is started by issuing a mirror-up instruction at the instant of the mirror-up time from the moment of the scheduled exposure to the morning. As a practical matter, as described in the embodiment, it is preferable that the maximum value of the lens driving time is determined to be constant after the release, and the mirror-up is started after a fixed time (T1) after the start of driving, because the handling is simple and preferable. In this way, for PCOUNT3 and thereafter, α
Have the same value. In the case of PCOUNT2 and PCOUNT3, α may be the same or different depending on the case.
2 ′ = F3 ′ but the denominator is F1 = F2 and F1 ≠ F
Because there is a time of 2. If the lens driving starts immediately after the accumulation / calculation, F1 = F2. However, if the lens driving cannot be performed until the film winding ends even after the calculation ends, F1 = F2.
≠ F2. Generally, the optimum value of α differs between PCOUNTs 0, 1, and 2, but the specific value differs due to the mirror-up time and other design fluctuation factors. The optimum value of α may be determined based on the equation for calculating α, or may be determined experimentally. In this embodiment, PCOUNTs 0, 1, 2, and 3 are identified using α thus determined.
The optimum value is determined with reference to the table of α (FIG. 17).

【0089】次に定速で近づく被写体に対して像面の移
動速度が一定とならないために生じる問題点について説
明する。図29(A)、(B)は図21(B)をさらに
具体的に表現したものであり、図29(A)はf=18
0mmの撮影レンズの場合、図29(B)はf=400mm
の撮影レンズの場合を示している。いずれの図も、実線
は被写体が10m/sで近づく場合の像面の移動の様子
を、レンズと像面の距離から一定値を引いた値を縦軸に
とって図示したものである。又点線は理想的に追尾がな
された場合のレンズと所定検出面(フィルム面と共役)
との距離から前記一定値を引いた値を縦軸にとったもの
で、蓄積の瞬間(黒丸印)に実線と交わり合焦が達成さ
れている。図から明らかなように長焦点レンズの場合図
29(B)では、像面の変化の早さがほぼ一定なので、
過去の1サイクル(蓄積から蓄積まで)における被写体
像面の移動量PREDをそのまま次回の予想移動量CO
MPとすればよく従ってα=1とすれば良い。
Next, a description will be given of a problem that occurs because the moving speed of the image plane is not constant with respect to a subject approaching at a constant speed. FIGS. 29A and 29B are more specific representations of FIG. 21B, and FIG.
In the case of a photographing lens of 0 mm, FIG.
3 shows the case of the taking lens. In each of the figures, the solid line shows the movement of the image plane when the subject approaches at 10 m / s, with the vertical axis representing a value obtained by subtracting a certain value from the distance between the lens and the image plane. The dotted line indicates the lens and the predetermined detection surface (conjugated to the film surface) when tracking is ideally performed.
The vertical axis represents the value obtained by subtracting the above-mentioned constant value from the distance from the distance, and at the instant of accumulation (black circle), the intersection with the solid line is achieved. As is clear from the figure, in the case of the long focal length lens in FIG. 29B, the speed of change of the image plane is almost constant,
The movement amount PRED of the subject image plane in one past cycle (from accumulation to accumulation) is used as is for the next estimated movement amount CO.
MP and therefore α = 1.

【0090】これに対して短焦点レンズ(A)では像面
が急加速度で離れていくので、過去1サイクルでの値P
REDをそのまま次回の予想量COMPとしたのでは破
線aのように追尾遅れが生じてしまう。従って COMP=PRED×α においてαを1より大き目にとるのが良い。以上まとめ
ると所定の焦点距離をFXとし、撮影レンズの焦点距離
をFLとするとき、例えば次表のようにする。
On the other hand, in the short focus lens (A), since the image plane moves away at a rapid acceleration, the value P
If the RED is used as the next expected amount COMP as it is, a tracking delay occurs as shown by a broken line a. Therefore, it is preferable to set α to be larger than 1 in COMP = PRED × α. In summary, when the predetermined focal length is FX and the focal length of the photographing lens is FL, for example, the following table is used.

【表6】 もし安定化のため追尾動作を少しひかえめにかけるとす
れば実施例(図17αテーブル)のごとく次表のように
することもできる。
[Table 6] If the tracking operation is slightly overridden for stabilization, the following table can be used as in the embodiment (the α table in FIG. 17).

【表7】 このようにどのタイミングで合焦をはかるかの価値判断
や、上記安定化の配慮等によりαの値の絶対値は違って
くるが、いずれにしても撮影レンズの焦点距離に依存さ
せてαの値を変化させる事により、レンズの焦点距離に
よらず最適な追尾動作を行なわせる事ができる。
[Table 7] As described above, the absolute value of the value of α differs depending on the value determination of the timing of focusing and the consideration of the stabilization, etc. By changing the value, an optimum tracking operation can be performed regardless of the focal length of the lens.

【0091】このような補正の効果はサイクルタイムが
100ms以上と短かい場合には目立たないが200ms以
上となると効果が大きくなり、特にミラーアップが入っ
てサイクルタイムが300msにもなると効果は非常に大
きくなる。次に被写体が遠ざかる場合について述べる。
被写体が遠ざかるか近づくかについてはPREDの符号
で容易に判断することができる。被写体が遠ざかる場合
には図21(A)の一点鎖線のごとく減速となる。従っ
て過去の結果にもとずいてそのまま追尾駆動を行なうと
オーバーラン気味となる。従って近ずく場合に比べてα
の値を小さ目にとる事が望ましい。このような加減速は
焦点距離の短いレンズ程著しい。実施例では図17のα
テーブルのごとく、減速の効果の大きい焦点距離小(F
L<FX)の場合及び焦点距離が大きくてもサイクルタ
イムが大きく減速効果の大きいPCOUNT2,3では
遠ざかる場合について近づく場合よりαの値を小さくし
て対処している。このようにαの変更を必要とする要因
には、撮影レンズ焦点距離の大小、被写体が近づくか遠
ざかるか、レリーズの前後、サイクルタイムの大小等い
ろいろ存在し、実際上はこれらが複合して組合わされて
おり、又メカ機構の時定数に対する依存もあるので図1
7のように場合分けしたαテーブルを記憶し、条件に応
じたαの値を用いるのが好ましい。又値としては最適値
を実験的に決定すればよく、ボディが変わりメカの時定
数が変わればαの最適的も変わる。しかしおおむねαの
最適な値の範囲は
The effect of such correction is not conspicuous when the cycle time is as short as 100 ms or more, but the effect becomes large when the cycle time is 200 ms or more. In particular, the effect becomes extremely large when the cycle time reaches 300 ms due to mirror up. growing. Next, a case where the subject moves away will be described.
Whether the subject moves away or approaches can be easily determined by the PRED code. When the subject moves away, the speed is reduced as indicated by the dashed line in FIG. Therefore, if the tracking drive is performed as it is based on the past results, it tends to be overrun. Therefore, compared to when approaching, α
It is desirable to set the value of. Such acceleration / deceleration is more remarkable for a lens having a shorter focal length. In the embodiment, α in FIG.
Like a table, a small focal length (F
In the case of L <FX) and in the case of PCOUNT2 and PCOUNT3, which have a large deceleration effect even if the focal length is large, the value of α is set smaller when moving away from the case when approaching. There are various factors that require the change of α, such as the size of the focal length of the photographing lens, whether the subject approaches or moves away, before and after the release, and the size of the cycle time. Figure 1 shows the dependence on the time constant of the mechanical mechanism.
It is preferable to store an α table classified according to the case as shown in FIG. 7 and use a value of α according to the condition. The optimum value may be determined experimentally. If the body changes and the time constant of the mechanism changes, the optimum value of α also changes. However, in general, the optimal value range of α is

【数13】 の範囲に存在する。(Equation 13) Exists in the range.

【0092】(第3実施例)本発明の第3実施例は、第
1実施例とほとんど同様の構成であり、第1実施例の合
焦表示をより分り易く構成したものである。以下、図3
0〜図32に基づき説明する。図7のAFCPUプログ
ラム中合焦判定・表示モジュールにおいては図22#
590〜#605に示す如く追尾中でかつレンズ端でな
い場合には、AF表示手段40の表示部41、43を両
方アクティブにし、通常の焦点調節状態表示と異なる表
示形態とすることで撮影者に追尾中であることを認識さ
せている。撮影者はこの表示により被写体が移動してい
ることを知り移動被写体の撮影の対応例えば絞り調節、
シャッター速度の選択ができる。以下、他の実施例を用
いて上記の追尾中の表示技術について説明を加える。図
22#605においては、追尾中表示をAF表示手段4
0により表示していたが、別実施例として追尾中表示を
AF表示手段40以外の表示手段により表示することも
できる。
(Third Embodiment) The third embodiment of the present invention has almost the same configuration as that of the first embodiment, and the focus display of the first embodiment is configured to be more easily understood. Hereinafter, FIG.
This will be described with reference to FIGS. In the AF CPU program focus determination / display module of FIG.
When tracking is in progress and the lens is not at the lens end as indicated by 590 to # 605, the display units 41 and 43 of the AF display unit 40 are both activated, and a display form different from the normal focus adjustment state display is given to the photographer. Letting you know you're tracking. The photographer knows that the subject is moving by this display, and responds to shooting of the moving subject, for example, adjusting the aperture,
You can select the shutter speed. Hereinafter, the display technique during tracking will be described using another embodiment. In # 605 of FIG. 22, the display during tracking is displayed by the AF display unit 4.
Although 0 is displayed, the tracking display may be displayed by a display unit other than the AF display unit 40 as another embodiment.

【0093】図30(A)に追尾表示手段45を別に設
けた場合の一実施例の構成を示す。図30(A)におい
て追尾表示手段45は図1で説明したAFCPU30の
ポートP13により制御される。追尾表示手段45は追
尾表示部46を有し、追尾表示部46は追尾中のみアク
ティブとなることにより撮影者に追尾中であることを知
らせるようになっている。図31(A)に上記実施例の
図7のAFCPUのプログラムの一部を示す。図31
(A)の#2010は図22の#605に置き換えられ
る。従って追尾中でありかつレンズ端でない場合#20
10により追尾表示手段45の表示部46がアクティブ
にされる。一方ここではプログラムフローチャートでの
図示を省略するが上記実施例においては追尾中でないか
又はレンズ端であった場合には、追尾表示手段45の表
示部46をOFFにして追尾中でないことを表示する。
#2010以降は今回のデフォーカス量DEFに従って
図22の如くAF表示手段40によるAF表示を行って
もよいし、AF表示手段40の表示部を全てOFFして
しまってもよい。
FIG. 30A shows the configuration of an embodiment in which the tracking display means 45 is separately provided. In FIG. 30A, the tracking display means 45 is controlled by the port P13 of the AF CPU 30 described with reference to FIG. The tracking display means 45 has a tracking display section 46. The tracking display section 46 is active only during tracking to notify the photographer that tracking is being performed. FIG. 31A shows a part of the program of the AFCPU in FIG. 7 of the above embodiment. FIG.
# 2010 in (A) is replaced with # 605 in FIG. Accordingly, when tracking is in progress and the lens is not at the lens end, # 20
By 10, the display section 46 of the tracking display means 45 is activated. On the other hand, the illustration in the program flowchart is omitted here, but in the above embodiment, if the camera is not being tracked or the lens is at the lens end, the display section 46 of the tracking display means 45 is turned off to indicate that the camera is not tracking. .
After # 2010, AF display by the AF display means 40 may be performed as shown in FIG. 22 according to the current defocus amount DEF, or all the display units of the AF display means 40 may be turned off.

【0094】図30(B)に追尾表示手段45が追尾中
の表示と被写体の移動方向(接近又は遠ざかる)の表示
を行なう場合の一実施例の構成示す。図30(B)にお
いて、追尾表示手段45は表示部47,48を有すると
ともに、AFCPU30によりポートP13を介して制
御される。表示部47がアクティブの場合は被写体が遠
ざかっていることを表示し、表示部48がアクティブの
場合は被写体が接近していることを表示している。又表
示部47、48のいずれかがアクティブな場合は追尾中
であることを表示している。図31(B)に上記実施例
のAFCPUプログラムの一部を示す。図31(B)の
#2015〜#2025は図22の#605に置き変え
られる。従って追尾中であり、かつレンズ端でない場合
は、#2015により追尾駆動量DRIVの符号がテス
トされ符号が負の場合は#2020で追尾表示手段45
の表示部48をアクティブ、表示部47をOFFにし、
追尾中で被写体が接近中であることを表示する。又#2
015で符号が正の場合は、#2025へ進み表示部4
7をアクティブ、表示部48をOFFにして、追尾中で
被写体が遠ざかっていることを表示する。
FIG. 30B shows the configuration of an embodiment in the case where the tracking display means 45 displays a display during tracking and a moving direction (approaching or moving away) of the subject. In FIG. 30B, the tracking display means 45 has display portions 47 and 48, and is controlled by the AFCPU 30 via the port P13. When the display unit 47 is active, it indicates that the subject is moving away, and when the display unit 48 is active, it indicates that the subject is approaching. When either of the display units 47 and 48 is active, it indicates that tracking is in progress. FIG. 31B shows a part of the AFCPU program of the above embodiment. # 2015 to # 2025 in FIG. 31B are replaced with # 605 in FIG. Accordingly, if tracking is being performed and the lens is not at the lens end, the sign of the tracking drive amount DRIV is tested in # 2015.
The display unit 48 is activated, the display unit 47 is turned off,
Indicates that the subject is approaching during tracking. # 2
If the sign is positive in 015, the process proceeds to # 2025 and the display unit 4
7 is activated, and the display unit 48 is turned off to display that the subject is moving away during tracking.

【0095】一方ここではプログラムフローチャートで
の図示は省略するが、上記実施例においては追尾中でな
いか又はレンズ端であった場合は追尾表示手段45の表
示部47,48を両方ともOFFにして追尾中でないこ
とを表示する。#2020、#2025以降の処理は前
実施例と同様である。上記実施例においては撮影者は追
尾の方向を知ることができるので、撮影者の意図しない
方向への追尾を撮影者自身が別手段の操作(例えばレリ
ーズボタンの半押や専用ボタン)によりキャンセルする
ことが可能になる。図30(B)においては被写体の移
動方向を表示するための表示部47、48を三角表示マ
ークとして表わしたがもちろんこれ以外の表示マークで
もよい。例えば
On the other hand, although illustration in the program flowchart is omitted here, in the above-described embodiment, if tracking is not being performed or the lens is at the lens end, both the display units 47 and 48 of the tracking display means 45 are turned off to perform tracking. Display that it is not inside. The processes after # 2020 and # 2025 are the same as in the previous embodiment. In the above embodiment, since the photographer can know the direction of tracking, the photographer himself cancels the tracking in the direction not intended by the photographer by operating another means (for example, half-pressing the release button or a dedicated button). It becomes possible. In FIG. 30B, the display units 47 and 48 for displaying the moving direction of the subject are shown as triangular display marks, but may be other display marks. For example

【数14】 のマークを表示部47、48として用いることができ
る。
[Equation 14] Can be used as the display units 47 and 48.

【0096】図30(C)に追尾表示手段45により追
尾中の焦点調節状態を表示する一実施例の構成を示す。
図30(C)において追尾表示手段45は、表示部5
3、54、55を有し、各々AFCPU30のポートP
13より制御される。表示部53、54、55のアクテ
ィブ状態は各々追尾状態での前ピン、合焦、後ピンを表
示している。図31(C)に上記実施例のAFCPUの
プログラムの一部を示す。図31(C)の#2030〜
#2085は図22の#605に置き変えられる。従っ
て追尾中でありかつレンズ端でない場合は、#2030
においてまず第1回目以降のレリーズ後であるかテスト
され、レリーズ後でない場合には#2035〜#205
5の処理を行なう。
FIG. 30C shows a configuration of an embodiment in which the tracking display means 45 displays the focus adjustment state during tracking.
In FIG. 30C, the tracking display means 45 is
3, 54, and 55, each having a port P of the AFCPU 30.
13 is controlled. The active states of the display units 53, 54, and 55 indicate the front focus, focus, and rear focus in the tracking state, respectively. FIG. 31C shows a part of the program of the AFCPU of the above embodiment. # 2030 in FIG. 31 (C)
Step # 2085 is replaced with step # 605 in FIG. Therefore, if tracking is in progress and the lens is not at the lens end, # 2030
Is tested first after the first or subsequent release, and if not, # 2035 to # 205
Step 5 is performed.

【0097】図32(A)はレリーズが行なわれていな
い場合の移動被写体に対する撮影レンズの理想軌跡(実
線)と実際の撮影レンズの駆動軌跡(1点鎖線)を示し
ており、蓄積、演算、駆動からなるシーケンスを1サイ
クルとして撮影レンズは追尾駆動される。撮影レンズの
追尾駆動が理想的に行なわれた場合にはイメージセンサ
の蓄積時間の中点Imにおいて実線と一点鎖線が交差す
る。従ってこの場合追尾中の蓄積から求められたデフォ
ーカス量DEFは0になるはずである。#2035〜#
2055では上述の考え方に基づいてデフォーカス量の
値に従って合焦、前ピン、後ピンを判定する。#203
5ではデフォーカス量の絶対値が所定値ZONEFより
大きいかテストする。一般に追尾中に求められるデフォ
ーカス量は静止中に求められるデフォーカス量より精度
が悪化しているので所定値ZONEFの値は図22で示
した合焦判定のための所定値Z1,Z2,Z3,Z4,
Z5より大きくとっておいた方が表示が安定する。#2
035で所定値ZONEFより小さかった場合は#20
40で表示部54をアクティブにして追尾中の合焦であ
ることを表示する。#2035で所定値ZONEFより
大きい場合は#2045へ進みデフォーカス量DEFの
符号をテストし、符号が正であった場合は表示部53を
アクティブにして追尾中の前ピンを表示する。#204
5で符号が負であった場合は#2055で表示部55を
アクティブにして追尾中の後ピンを表示する。一方#2
030でレリーズ後であると判定された場合には#20
60〜#2085の処理を行なう。
FIG. 32A shows an ideal trajectory (solid line) of the photographing lens and an actual driving trajectory (dashed line) of the photographing lens with respect to the moving object when the release is not performed. The photographing lens is driven to be tracked with a driving sequence as one cycle. When the tracking drive of the photographing lens is ideally performed, the solid line and the dashed line intersect at the middle point Im of the accumulation time of the image sensor. Therefore, in this case, the defocus amount DEF obtained from the accumulation during tracking should be zero. # 2035- #
At 2055, focusing, front focus, and rear focus are determined according to the value of the defocus amount based on the above concept. # 203
At 5, it is tested whether the absolute value of the defocus amount is larger than a predetermined value ZONEF. In general, the accuracy of the defocus amount obtained during tracking is lower than the accuracy of the defocus amount obtained during stillness. Therefore, the value of the predetermined value ZONEF is set to the predetermined values Z1, Z2, Z3 for focus determination shown in FIG. , Z4
The display is more stable if it is set larger than Z5. # 2
If 035 is smaller than the predetermined value ZONEF, # 20
At 40, the display unit 54 is activated to indicate that the focus is being tracked. If the sign is larger than the predetermined value ZONEF in # 2035, the flow advances to # 2045 to test the sign of the defocus amount DEF. If the sign is positive, the display unit 53 is activated to display the previous pin being tracked. # 204
If the sign is negative at 5, the display unit 55 is activated at # 2055 to display the rear focus pin during tracking. # 2
If it is determined in 030 that it is after the release, # 20
60 to # 2085 are performed.

【0098】図32(B)はレリーズが行なわれている
場合の移動被写体に対する撮影レンズの理想軌跡(実
線)と実際の撮影レンズの駆動軌跡(1点鎖線)を示し
ており、撮影、蓄積、演算、駆動からなるシーケンスを
1サイクルとして撮影レンズは追尾駆動される。撮影レ
ンズの追尾駆動が理想的に行なわれた場合には、撮影動
作(露光)の中点において、実線と一点鎖線が交差す
る。従ってこの場合、追尾中の蓄積から求めたデフォー
カス量即ちこれは図において蓄積時間の中点Im におけ
る実線と一点鎖線の差に相当する量は0にならず、理想
的には撮影動作の中点Em と蓄積時間の中点Im の時間
中に撮影レンズが理想軌跡(実線)に沿って動いた量H
Xとなる。
FIG. 32B shows an ideal trajectory (solid line) of the photographing lens and an actual driving trajectory (dashed line) of the photographing lens with respect to the moving subject when the release is performed. The photographing lens is driven to be tracked with a sequence consisting of calculation and driving as one cycle. When the tracking drive of the photographing lens is ideally performed, the solid line and the dashed line intersect at the middle point of the photographing operation (exposure). Therefore, in this case, the defocus amount obtained from the accumulation during tracking, that is, the amount corresponding to the difference between the solid line and the one-dot chain line at the middle point Im of the accumulation time in the drawing does not become 0, and ideally during the shooting operation. The amount H that the taking lens has moved along the ideal locus (solid line) during the time between the point Em and the middle point Im of the accumulation time.
X.

【0099】量HXは今回の蓄積時間の中点(例えばI
m1)と前回の蓄積時間の中点(例えばImo)の間に実際
に撮影レンズが動いた量をDLST(これは前回の駆動
量に相当する)、今回の蓄積時間の中点(Im1)と前回
の蓄積時間の中点(Imo)の間の時間をTE、今回の蓄
積時間の中点(Im1)と今回の撮影動作の中点(Em1
の間の時間をTDとすると次式の如くなる。 HX=DLST×TD/TE ・・・・・(14) DLSTは前回の駆動量を記憶しておくことにより、又
TD、TEはAFCPUに内蔵するタイマー等で計時す
ることにより得ることができる。従って#2060〜#
2085では上述の考え方に基づいてデフォーカス量か
ら所定値HXを差し引いた値に従って合焦、前ピン、後
ピンを判定する。#2060では(14)式に従ってH
Xを計算する。#2065では今回のデフォーカス量よ
りHXを引いたものの絶対値が所定値ZONERより大
きいかテストする。所定値ZONERは前述の所定値Z
ONEFと同じか少し大きく設定する。#2065で所
定値ZONER以下であった場合は#2070へ進み表
示部54をアクティブにして追尾中の合焦であることを
表示する。#2065で所定値ZONER以上であった
場合は、#2075でデフォーカス量からHXを引いた
量の符号をテストし、符号が正であった場合は#208
0で表示部53をアクティブにして追尾中の前ピンであ
ることを表示する。#2075で符号が負であった場合
は、#2085へ進み表示部55をアクティブにして追
尾中の後ピンであることを表示する。#2040、#2
050、#2055、#2070、#2080、#20
85以降の処理は前実施例と同様であるが、AF表示手
段40の表示部は全てOFFしておくのが望ましい。
The quantity HX is the midpoint of the current accumulation time (for example, I
m1 ) and the middle point of the previous accumulation time (for example, I mo ), the amount of actual movement of the taking lens is represented by DLST (this corresponds to the previous drive amount), and the middle point of the current accumulation time (I m1) ) And the middle point of the previous accumulation time ( Imo ) is TE, the middle point of the current accumulation time ( Im1 ) and the middle point of the current shooting operation ( Em1 ).
If the time between is TD, the following equation is obtained. HX = DLST × TD / TE (14) DLST can be obtained by storing the previous drive amount, and TD and TE can be obtained by measuring the time with a timer or the like built in the AFCPU. Therefore, # 2060- #
At 2085, focusing, front focus, and rear focus are determined according to a value obtained by subtracting a predetermined value HX from the defocus amount based on the above-described concept. In # 2060, H is calculated according to equation (14).
Calculate X. In # 2065, it is tested whether or not the absolute value obtained by subtracting HX from the current defocus amount is larger than a predetermined value ZONER. The predetermined value ZONER is the aforementioned predetermined value Z.
Set the same as or slightly larger than ONEF. If the value is equal to or less than the predetermined value ZONER in step # 2065, the flow advances to step # 2070 to activate the display unit 54 to indicate that the in-focus state is being tracked. If the value is equal to or more than the predetermined value ZONER in # 2065, the sign of the amount obtained by subtracting HX from the defocus amount is tested in # 2075, and if the sign is positive, # 208
When 0, the display unit 53 is activated to indicate that the front pin is being tracked. If the sign is negative in # 2075, the process proceeds to # 2085 to activate the display unit 55 to indicate that the rear pin is being tracked. # 2040, # 2
050, # 2055, # 2070, # 2080, # 20
The processes after 85 are the same as those in the previous embodiment, but it is desirable that all the display units of the AF display means 40 be turned off.

【0100】一方ここではプログラムフローチャートで
の図示は省略するが上記実施例においては追尾中でない
か又はレンズ端であった場合は追尾表示手段45の表示
部53、54、55は全てOFFにして追尾中でないこ
とを表示する。上記実施例においては#2035、#2
065で所定値ZONEF、ZONERと比較すること
により合焦判定を行なっていたが、図21に示す如く一
般的に一定の速度で遠ざかる被写体に対しては理想レン
ズの速度は時間とともに減少し反対に一定の速度で接近
する被写体に対しては理想レンズの速度は時間とともに
増加するので、符号−(前ピン、接近中)の合焦判定ゾ
ーンを符号+(後ピン、遠ざかる)の合焦判定ゾーンよ
りも大きく設定すれば表示がより安定する。上記実施例
においては撮影者は追尾中であるか否かを認識できると
ともに追尾中の焦点調節状態を知ることができるので焦
点調節状態に応じたレリーズ操作例えば追尾中に合焦し
ていたらレリーズ操作を行なうといったことが可能にな
る。又上記実施例においては追尾表示手段45をAF表
示手段40とは別に設けていたが、追尾中であるか否か
の情報が不要な場合には、AF表示手段40で追尾表示
手段45を兼用できる。
On the other hand, although illustration in the program flowchart is omitted here, in the above-described embodiment, if tracking is not being performed or the lens is at the lens end, the display units 53, 54 and 55 of the tracking display means 45 are all turned off and tracking is performed. Display that it is not inside. In the above embodiment, # 2035, # 2
At 065, the in-focus determination was made by comparing with the predetermined values ZONEF and ZONER. However, as shown in FIG. 21, the speed of the ideal lens generally decreases with time for a subject moving away at a constant speed. For a subject approaching at a constant speed, the speed of the ideal lens increases with time. Therefore, the focus determination zone of the sign-(front focus, approaching) is replaced with the focus determination zone of the sign + (back focus, moving away). If the value is set larger than this, the display becomes more stable. In the above embodiment, the photographer can recognize whether or not the subject is being tracked, and can know the focus adjustment state during the tracking. Therefore, the release operation according to the focus adjustment state, for example, the release operation if the subject is in focus during the tracking. Can be performed. In the above-described embodiment, the tracking display means 45 is provided separately from the AF display means 40. However, if it is not necessary to provide information as to whether or not tracking is being performed, the AF display means 40 also serves as the tracking display means 45. it can.

【0101】上記のような場合には、追尾中においても
焦点調節状態表示が通常時(追尾を行なっていない時)
と同様な形態で行なわれるので違和感がないとともに、
追尾中の表示の安定化をはかることができる。尚、図2
2、図31の表示部の表現において実線はアクティブ、
破線はOFFとなっていることを示している。図30、
図31で示した実施例においては追尾中であるか否かを
表示手段45によって表示したが本発明はこれに限られ
ることはなく音等によって追尾中であることを認識させ
ることも可能である。又追尾中であることを表示させる
だけではなく、追尾中である場合にはカメラのその他の
作動手段を自動的に制御することもできる。例えば追尾
中である場合には自動的にシャッター速度を高速にした
り、絞りを小さくする等が可能である。
In the case described above, the focus adjustment state display is normal (even when tracking is not performed) even during tracking.
Because it is performed in the same form as
The display during tracking can be stabilized. FIG.
2. In the representation of the display unit in FIG. 31, the solid line is active,
The broken line indicates that it is OFF. FIG.
In the embodiment shown in FIG. 31, whether or not the vehicle is being tracked is displayed by the display means 45. However, the present invention is not limited to this. . In addition to displaying that tracking is being performed, other operating means of the camera can be automatically controlled when tracking is being performed. For example, when tracking is in progress, it is possible to automatically increase the shutter speed or reduce the aperture.

【0102】以上の様に本実施例によれば被写体の移動
の有無が表示されるので撮影者は被写体の移動を認識で
きるとともに、移動被写体に対するそれなりの対応が可
能となるとともに従来のように移動被写体に対して撮影
レンズの焦点調節状態のみを表示して、撮影者が静止被
写体と移動被写体を区別できない場合の失敗、例えば精
度が同じだと思って撮影したらボケていたというような
ことを防ぐことができる。又撮影レンズの焦点調節状態
を表示する部材と被写体の移動状態を表示する部材を兼
用すればコストアップにもならず撮影者にとっても混乱
を招くことがないといった利点もある。
As described above, according to the present embodiment, the presence / absence of the movement of the subject is displayed, so that the photographer can recognize the movement of the subject and can appropriately cope with the moving subject, and can perform the conventional movement. Displays only the focus adjustment state of the shooting lens for the subject to prevent failure when the photographer cannot distinguish between a still subject and a moving subject, such as blurring when shooting with the same accuracy be able to. Also, if a member for displaying the focus adjustment state of the photographing lens and a member for displaying the moving state of the subject are used, there is an advantage that the cost is not increased and the photographer is not confused.

【0103】請求項1の発明によれば、連続撮影動作の
駒間において、追尾駆動を行う主光学系の駆動時間を所
定時間に制限する構成としたので、主光学系の駆動量に
よらずサイクルタイム(連続撮影の撮影サイクル)を一
定にでき、焦点検出演算される焦点検出信号がこのサイ
クルの周期で繰り返し演算されるため、被写体移動の検
出や、追尾駆動の制御量の演算が容易にかつ正確に行え
る。その結果、連続撮影にも拘わらず、移動被写体の追
尾を高精度にでき、ピントのあったタイミングで露光で
きる。また、請求項2の発明によれば、自動焦点調節装
置による追尾駆動が所定時間内に終了しない場合には次
の追尾駆動を禁止するので、次回の追尾駆動の誤差の為
に追尾駆動が行き過ぎたりするのを防止できる。また、
請求項3の発明によれば、連続撮影時の撮影動作の間に
必ず所定回の焦点調節動作が行われるので、高速連写性
の機能低下を最低限に抑えると共に、焦点検出サイクル
が一定となり、高精度の追尾駆動が可能となり、ピント
精度の高い撮影が期待できる。
According to the first aspect of the present invention, the driving time of the main optical system for performing the tracking drive is limited to a predetermined time between frames of the continuous photographing operation, so that it is independent of the driving amount of the main optical system. The cycle time (shooting cycle of continuous shooting) can be made constant, and the focus detection signal calculated for focus detection is repeatedly calculated in the cycle. This makes it easy to detect the movement of the subject and calculate the control amount of the tracking drive. And can be performed accurately. As a result, despite the continuous shooting, the tracking of the moving subject can be performed with high accuracy, and the exposure can be performed at the focused timing. According to the second aspect of the present invention, if the tracking drive by the automatic focus adjustment device is not completed within a predetermined time, the next tracking drive is prohibited, so that the tracking drive is excessively performed due to an error in the next tracking drive. Can be prevented. Also,
According to the third aspect of the present invention, the focus adjustment operation is always performed a predetermined number of times during the shooting operation during continuous shooting, so that the deterioration of the high-speed continuous shooting function is minimized and the focus detection cycle becomes constant. In addition, high-precision tracking drive becomes possible, and high-precision photographing can be expected.

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

【図1】本発明の第1実施例の構成図。FIG. 1 is a configuration diagram of a first embodiment of the present invention.

【図2】AFモジュールの構成図。FIG. 2 is a configuration diagram of an AF module.

【図3】本発明による実施例の動作タイムチャート図。FIG. 3 is an operation time chart of the embodiment according to the present invention.

【図4】本発明による実施例の動作タイムチャート図。FIG. 4 is an operation time chart of the embodiment according to the present invention.

【図5】メインCPUのプログラムフローチャート図。FIG. 5 is a program flowchart of a main CPU.

【図6】メインCPUのプログラムフローチャート図。FIG. 6 is a program flowchart of a main CPU.

【図7】(a)AFCPUのプログラムフローチャート
図。(b)AFCPUのプログラムフローチャート図。
FIG. 7A is a program flowchart of an AFCPU. (B) The program flowchart figure of AFCPU.

【図8】AFCPUのプログラムフローチャート図。FIG. 8 is a program flowchart of an AFCPU.

【図9】AFCPUのプログラムフローチャート図。FIG. 9 is a program flowchart of an AFCPU.

【図10】AFCPUのプログラムのための説明図。FIG. 10 is an explanatory diagram for a program of an AFCPU.

【図11】AFCPUのプログラムフローチャート図。FIG. 11 is a program flowchart of an AFCPU.

【図12】AFCPUのプログラムフローチャート図。FIG. 12 is a program flowchart of an AFCPU.

【図13】AFCPUのプログラムフローチャート図。FIG. 13 is a program flowchart of an AFCPU.

【図14】焦点検出演算の説明図。FIG. 14 is an explanatory diagram of a focus detection calculation.

【図15】焦点検出演算の説明図。FIG. 15 is an explanatory diagram of a focus detection calculation.

【図16】AFCPUのプログラムフローチャート図。FIG. 16 is a program flowchart of an AFCPU.

【図17】AFCPUのプログラムフローチャート図。FIG. 17 is a program flowchart of an AFCPU.

【図18】(A)AFCPUのプログラムのための説明
図。(B)AFCPUのプログラムのための説明図。
FIG. 18A is an explanatory diagram for a program of an AFCPU. (B) Explanatory drawing for the program of AFCPU.

【図19】AFCPUのプログラムのための説明図。FIG. 19 is an explanatory diagram for a program of an AFCPU.

【図20】AFCPUのプログラムのための説明図。FIG. 20 is an explanatory diagram for a program of an AFCPU.

【図21】(A)AFCPUのプログラムのための説明
図。(B)AFCPUのプログラムのための説明図。
FIG. 21A is an explanatory diagram for a program of an AFCPU. (B) Explanatory drawing for the program of AFCPU.

【図22】AFCPUのプログラムフローチャート図。FIG. 22 is a program flowchart of an AFCPU.

【図23】AFCPUのプログラムフローチャート図。FIG. 23 is a program flowchart of an AFCPU.

【図24】AFCPUのプログラムフローチャート図。FIG. 24 is a program flowchart of an AFCPU.

【図25】AFCPUのプログラムフローチャート図。FIG. 25 is a program flowchart of the AFCPU.

【図26】AFCPUのプログラムフローチャート図。FIG. 26 is a program flowchart of the AFCPU.

【図27】AFCPUのプログラムフローチャート図。FIG. 27 is a program flowchart of an AFCPU.

【図28】従来の追尾動作の説明図。FIG. 28 is an explanatory diagram of a conventional tracking operation.

【図29】(A)第2実施例において、撮影レンズの焦
点が異なる場合における撮影レンズの軌跡を示す図。 (B)第2実施例において、撮影レンズの焦点が異なる
場合における撮影レンズの軌跡を示す図。
FIG. 29A is a diagram illustrating a locus of the photographing lens when the focal point of the photographing lens is different in the second embodiment. FIG. 6B is a diagram illustrating a locus of the photographing lens when the focal point of the photographing lens is different in the second embodiment.

【図30】(A)第3実施例の構成を説明するための
図。 (B)第3実施例の構成を説明するための図。 (C)第3実施例の構成を説明するための図。
FIG. 30A is a diagram for explaining the configuration of the third embodiment. (B) The figure for explaining the composition of the 3rd example. (C) The figure for explaining the composition of the 3rd example.

【図31】(A)第3実施例の構成を説明するための
図。 (B)第3実施例の構成を説明するための図。 (C)第3実施例の構成を説明するための図。
FIG. 31A is a diagram for explaining the configuration of the third embodiment. (B) The figure for explaining the composition of the 3rd example. (C) The figure for explaining the composition of the 3rd example.

【図32】(A)レリーズが行なわれている場合と行な
われていない場合の移動被写体に対する撮影レンズの軌
跡を示した図。 (B)レリーズが行なわれている場合と行なわれていな
い場合の移動被写体に対する撮影レンズの軌跡を示した
図。
FIG. 32A is a diagram showing a locus of a photographing lens with respect to a moving subject when a release is performed and when a release is not performed; FIG. 5B is a diagram illustrating a locus of the photographing lens with respect to the moving subject when the release is performed and when the release is not performed.

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

10 レンズ 11 撮影レンズ 12 レンズ−伝達系 13 レンズ−CPU 20 ボディ 23 AFモジュール 24 焦点検出光学系 25 CCD 26 センサ制御手段 30 AFCPU 40 AF表示手段 50 AFモータ 51 ボディ伝達系 52 エンコーダ 60 レリーズボタン 61 駒速モード選択手段 62 フォーカスモード選択手段 70 メインCPU Reference Signs List 10 lens 11 photographing lens 12 lens-transmission system 13 lens-CPU 20 body 23 AF module 24 focus detection optical system 25 CCD 26 sensor control means 30 AFCPU 40 AF display means 50 AF motor 51 body transmission system 52 encoder 60 release button 61 frames Speed mode selecting means 62 focus mode selecting means 70 main CPU

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山野 省三 東京都品川区西大井1丁目6番3号 株 式会社ニコン 大井製作所内 (56)参考文献 特開 昭62−253107(JP,A) ──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Shozo Yamano 1-6-3 Nishioi, Shinagawa-ku, Tokyo Nikon Oi Works Co., Ltd. (56) References JP-A-62-253107 (JP, A)

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】主光学系により形成された被写体像の焦点
調節状態を繰り返し検出し、検出された焦点調節状態に
応じて焦点検出信号を時系列的に発生する焦点検出手段
と、 前記時系列的に発生する複数の焦点検出信号に基づき被
写体の移動に伴う被写体像面の時間変化に関する移動情
報を検出する移動情報検出手段と、 前記移動情報に基づき、移動被写体の移動を追尾するた
めの駆動制御量を算出する駆動制御量算出手段と、 前記駆動制御量に基づき、前記主光学系を駆動する駆動
手段と、レリーズ操作部材の第一操作により前記焦点検出手段、
前記移動情報検出手段、前記駆動制御量算出手段及び前
記駆動手段を繰り返し作動させ、前記レリーズ操作部材
の第一操作に引続く第二操作により前記被写体像を撮影
する撮影手段と、 前記駆動手段の駆動時間を所定時間に制限する駆動時間
制限手段を設けたことを特徴とする自動焦点調節装置
備えたカメラ
A focus detecting means for repeatedly detecting a focus adjustment state of a subject image formed by a main optical system and generating a focus detection signal in a time series according to the detected focus adjustment state; Movement information detecting means for detecting movement information relating to a temporal change of a subject image plane accompanying the movement of a subject based on a plurality of focus detection signals which are generated periodically; and a drive for tracking the movement of a moving subject based on the movement information Drive control amount calculation means for calculating a control amount, drive means for driving the main optical system based on the drive control amount, and the focus detection means by a first operation of a release operation member,
The movement information detecting means, the drive control amount calculating means, and
The drive means is repeatedly operated to release the release operating member.
Shooting the subject image by the second operation following the first operation of
An imaging means for the automatic focusing device, wherein a driving time of said driving means provided with a drive time limiting means for limiting a predetermined time
Equipped camera .
【請求項2】前記駆動制御量算出手段により算出された
前記駆動制御量を前記所定時間内に駆動できなかった場
合には、前記駆動手段の追尾駆動を禁止する禁止手段を
設けたことを特徴とする請求項1の自動焦点調節装置
備えたカメラ
2. A prohibition means for prohibiting tracking drive of said drive means when said drive control amount calculated by said drive control amount calculation means cannot be driven within said predetermined time. The automatic focusing device according to claim 1 ,
Equipped camera .
【請求項3】主光学系により形成された被写体像の焦点
調節状態を繰り返し検出し、検出された焦点調節状態に
応じて焦点検出信号を時系列的に発生する焦点検出手段
と、 前記時系列的に発生する複数の焦点検出信号に基づき被
写体の移動に伴う被写体像面の時間変化に関する移動情
報を検出する移動情報検出手段と、 前記移動情報に基づき、移動被写体の移動を追尾するた
めの駆動制御量を算出する駆動制御量算出手段と、 前記駆動制御量に基づき、前記主光学系を駆動する駆動
手段と、 前記主光学系により形成された被写体像を連続的に撮影
する撮影手段と、前記撮影手段による連続撮影の間に、前記焦点検出手段
による検出動作と前記 駆動手段による駆動動作とが所定
回数行われるように、前記焦点調節手段及び前記駆動量
制御手段及び前記駆動手段及び前記撮影手段を制御する
制御手段 とを備えたことを特徴とする自動焦点調節装置
を備えたカメラ。
3. A focus detecting means for repeatedly detecting a focus adjustment state of a subject image formed by a main optical system, and generating a focus detection signal in a time series according to the detected focus adjustment state; Movement information detecting means for detecting movement information relating to a temporal change of a subject image plane accompanying the movement of a subject based on a plurality of focus detection signals which are generated periodically; and a drive for tracking the movement of a moving subject based on the movement information Drive control amount calculation means for calculating a control amount; drive means for driving the main optical system based on the drive control amount; and continuously photographing a subject image formed by the main optical system.
The focus detecting means during continuous shooting by the shooting means.
And the driving operation by the driving means are predetermined.
The focus adjustment means and the drive amount
Controlling a control unit, the driving unit, and the photographing unit;
Camera having an automatic focusing apparatus characterized by comprising a control means.
【請求項4】前記所定回数は1回を含むことを特徴とす
る請求項3の自動焦点調節装置を備えたカメラ
4. The method according to claim 1, wherein the predetermined number includes one time.
A camera comprising the automatic focusing device according to claim 3 .
【請求項5】前記撮影手段による連続撮影動作中は前記
駆動手段の駆動時間を所定時間に制限する駆動時間制限
手段を備えたことを特徴とする請求項の自動焦点調節
装置を備えたカメラ。
5. A camera equipped with an automatic focus adjusting device according to claim 3 , further comprising a drive time limiting means for limiting a drive time of said drive means to a predetermined time during a continuous photographing operation by said photographing means. .
JP6253843A 1988-05-13 1994-10-19 Camera with automatic focusing device Expired - Lifetime JP2743930B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6253843A JP2743930B2 (en) 1988-05-13 1994-10-19 Camera with automatic focusing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP11617188 1988-05-13
JP63-116171 1988-05-13
JP6253843A JP2743930B2 (en) 1988-05-13 1994-10-19 Camera with automatic focusing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP63179112A Division JP2591086B2 (en) 1988-01-03 1988-07-20 Display device for focus detection

Publications (2)

Publication Number Publication Date
JPH07218819A JPH07218819A (en) 1995-08-18
JP2743930B2 true JP2743930B2 (en) 1998-04-28

Family

ID=26454553

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6253843A Expired - Lifetime JP2743930B2 (en) 1988-05-13 1994-10-19 Camera with automatic focusing device

Country Status (1)

Country Link
JP (1) JP2743930B2 (en)

Family Cites Families (2)

* 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
JP2696923B2 (en) * 1988-05-13 1998-01-14 ミノルタ株式会社 Automatic focusing device

Also Published As

Publication number Publication date
JPH07218819A (en) 1995-08-18

Similar Documents

Publication Publication Date Title
US5040015A (en) Automatic focus control device
US4671640A (en) Automatic focus control camera
US5587761A (en) Automatic focusing apparatus
US4952963A (en) Focus detection apparatus for camera
JP2743929B2 (en) Automatic focusing device
JP2591086B2 (en) Display device for focus detection
JP2743932B2 (en) Automatic focusing device
JP2743933B2 (en) Auto focus camera
JP2743931B2 (en) Automatic focusing device
US4924250A (en) Automatic focus control device
US5628036A (en) Focus adjustment device and method
JP2743930B2 (en) Camera with automatic focusing device
JPH07181369A (en) Automatic focusing camera, and automatic focusing method of camera
JP2809117B2 (en) Automatic focusing device
JPH10282402A (en) Camera provided with automatic focusing device
US5623706A (en) Camera having auto focusing and auto exposure functions
JP2712412B2 (en) Focus detection device
US5196881A (en) Automatic focus control device
JPH0797172B2 (en) Automatic focus adjustment device
JPH0797174B2 (en) Automatic focus adjustment device
JP2591086C (en)
JP2757396B2 (en) camera
JPH0830780B2 (en) Automatic focus adjustment device
JP2590873B2 (en) Camera with focus detection device
JP3718243B2 (en) Camera exposure control device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980107

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

Free format text: PAYMENT UNTIL: 20090206

Year of fee payment: 11