JPH0694985A - Camera autofocus device - Google Patents
Camera autofocus deviceInfo
- Publication number
- JPH0694985A JPH0694985A JP4266787A JP26678792A JPH0694985A JP H0694985 A JPH0694985 A JP H0694985A JP 4266787 A JP4266787 A JP 4266787A JP 26678792 A JP26678792 A JP 26678792A JP H0694985 A JPH0694985 A JP H0694985A
- Authority
- JP
- Japan
- Prior art keywords
- image plane
- focus detection
- lens
- time
- focus
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Focusing (AREA)
- Lens Barrels (AREA)
- Automatic Focus Adjustment (AREA)
Abstract
(57)【要約】
【目的】 被写体の追従補正の安定性及び精度を向上さ
せる。
【構成】 焦点検出手段にて過去複数回求められたデフ
ォーカス量と焦点検出の時間間隔情報に基づいて所定時
間後における被写体の像面位置変化を定められる関数に
近似して求め、所定時間後における被写体の像面位置と
撮影レンズの像面位置を一致させるべくレンズ駆動手段
LPRS,LMTRを制御する演算手段PRS内に、焦
点検出によって得られる像面位置の変化速度の信頼性を
考慮した加重平均によって、近似する関数を設定する設
定手段PRSを設け、像面位置の変化速度の信頼性を評
価する為に、検出された焦点検出を行った時間間隔、焦
点検出精度を使用するようにしている。
(57) [Summary] [Purpose] To improve the stability and accuracy of subject tracking correction. According to the defocus amount and focus detection time interval information obtained a plurality of times in the past by the focus detection means, the change in the image plane position of the subject after a predetermined time is obtained by approximating the determined function, and after a predetermined time. In the calculation means PRS for controlling the lens drive means LPRS, LMTR so as to match the image plane position of the subject and the image plane position of the photographing lens, the weighting considering the reliability of the change speed of the image plane position obtained by the focus detection is performed. Setting means PRS for setting a function that approximates the average is provided, and in order to evaluate the reliability of the changing speed of the image plane position, the time interval at which the detected focus detection is performed and the focus detection accuracy are used. There is.
Description
【0001】[0001]
【産業上の利用分野】本発明は、カメラに備えられる、
動きのある被写体に対して追従制御を行うことのできる
自動焦点調節装置の改良に関するものである。BACKGROUND OF THE INVENTION The present invention is provided in a camera,
The present invention relates to an improvement of an automatic focus adjustment device capable of performing follow-up control on a moving subject.
【0002】[0002]
【従来の技術】従来、一眼レフカメラの自動焦点調節方
式の多くは「焦点検出(センサ信号入力、焦点検出演
算)、レンズ駆動」のサイクルを繰返し行うことによっ
て、被写体にピントを合せようとするものである。2. Description of the Related Art Conventionally, most automatic focus adjustment systems for single-lens reflex cameras attempt to focus on a subject by repeating a cycle of "focus detection (sensor signal input, focus detection calculation) and lens drive". It is a thing.
【0003】この様な従来装置では、レンズ駆動後の焦
点検出にて求められたデフォ−カス量がゼロの時に合焦
と判断している。In such a conventional apparatus, when the defocus amount obtained by the focus detection after driving the lens is zero, it is determined that the focus is achieved.
【0004】但し、実際の撮影時においては、撮影レン
ズが正確に合焦位置に来る必要はなく(デフォ−カス量
がゼロとなる必要はなく)、レンズの開放Fナンバーや
撮影時の絞り値から、ピントのズレ量(デフォーカス
量)が許容量(像面深度)以下であれば合焦とみなせる
ので、前記合焦位置は一点ではなく、幅を有する合焦ゾ
ーンとして与えられ、焦点検出手段によって検出された
デフォーカス量が合焦ゾーン内であれば合焦と判断し、
合焦表示を行っていた。However, at the time of actual photographing, it is not necessary for the photographing lens to accurately come to the in-focus position (the defocus amount does not have to be zero), the open F number of the lens and the aperture value at the time of photographing. Therefore, if the focus shift amount (defocus amount) is equal to or less than the allowable amount (image plane depth), it can be regarded as the focus, so the focus position is not a single point but is given as a focus zone having a width, and focus detection is performed. If the defocus amount detected by the means is within the focus zone, it is determined to be in focus,
The focus was displayed.
【0005】そして、上記の如く「焦点検出(センサ信
号入力、焦点検出演算)、レンズ駆動」のサイクルを繰
返し行うことによって、被写体にピントを合せようとす
るものであり、各サイクルにおけるレンズ駆動量はその
サイクルで焦点検出を行った時点でのデフォーカス量に
基づいており、これは、レンズ駆動終了時に焦点検出時
のデフォーカス量が解消されることを期待している。Then, by repeating the cycle of "focus detection (sensor signal input, focus detection calculation), lens drive" as described above, the object is focused, and the lens drive amount in each cycle. Is based on the defocus amount at the time of performing focus detection in that cycle, and this is expected to eliminate the defocus amount at the time of focus detection at the end of lens driving.
【0006】従って、当然のことながら焦点検出、レン
ズ駆動にはそれ相当の時間を必要とするので、動きの大
きな被写体の場合には、焦点検出、レンズ駆動中にデフ
ォーカス量が変化し、前記解消すべきデフォーカス量と
検出デフォーカス量が著しく異なることがあり、結果と
してレンズ駆動終了時に被写体にピントが合っていない
という問題が発生する。Therefore, as a matter of course, the focus detection and the lens drive require a considerable amount of time, so that in the case of a subject having a large movement, the defocus amount changes during the focus detection and the lens drive, The defocus amount to be eliminated may be significantly different from the detected defocus amount, resulting in a problem that the subject is out of focus at the end of lens driving.
【0007】上記問題点の解決を目的とした自動焦点調
節方式として、本願出願人は特願昭62−328233
号を提案している。As an automatic focus adjustment system for the purpose of solving the above problems, the applicant of the present application has filed Japanese Patent Application No. 62-328233.
I am proposing an issue.
【0008】この提案の要旨は、上記各サイクルにおけ
る検出デフォーカス変化と時間間隔から被写体の移動に
起因するデフォーカス変化を予測して、レンズ駆動量に
補正を加えようとするもの(以下、追従補正と称す)で
あり、レンズの駆動終了時のピント精度という見地から
は、同方式により上記問題の改善が期待される。The gist of this proposal is to predict the defocus change caused by the movement of the object from the detected defocus change and the time interval in each cycle, and to correct the lens drive amount (hereinafter referred to as "following"). This is referred to as correction), and from the viewpoint of focusing accuracy at the end of lens driving, the above method is expected to improve the above problem.
【0009】しかしながら、前記追従補正を行った場
合、次のような問題が発生する。以下、図面を用いて上
記追従補正について説明する。However, when the tracking correction is performed, the following problems occur. The tracking correction will be described below with reference to the drawings.
【0010】図8は追従補正によるレンズ駆動方法を説
明するための図であり、図中の横軸は時刻t,縦軸は被
写体の像面位置xを表している。FIG. 8 is a diagram for explaining a lens driving method by follow-up correction, in which the horizontal axis represents time t and the vertical axis represents the image plane position x of the subject.
【0011】実線で表した曲線x(t)は撮影レンズが
無限遠にあるときに、カメラに対して光軸方向に接近し
てくる被写体の時刻tにおける像面位置を意味してい
る。破線で表したL(t)は時刻tにおける撮影レンズ
位置を意味しており、x(t)とL(t)が一致したと
きに合焦となる。そして[ti,ti’]が焦点検出動
作、[ti’, ti+1]がレンズ駆動動作である。ま
た、同図に示した従来例では、像面位置が二次関数に従
って変化するという仮定をおいている。すなわち、時刻
t3において現在及び過去3回の像面位置(t1,x
1)(t1,x2)(t3,x3)がわかれば、次式 x(t)=at2 +bt+c …………(1) に基づき、時刻t3よりTL(AFタイムラグ+レリー
ズタイムラグ)後の時刻t4 での像面位置x4 が予測で
きるものである。A curve x (t) represented by a solid line means an image plane position at time t of a subject approaching the camera in the optical axis direction when the taking lens is at infinity. L (t) represented by a broken line means the position of the photographing lens at time t, and when x (t) and L (t) match, the lens is in focus. Then, [ti, ti '] is a focus detection operation, and [ti', ti + 1] is a lens driving operation. Further, in the conventional example shown in the same figure, it is assumed that the image plane position changes according to a quadratic function. That is, at the time t3, the image plane positions (t1, x
1) If (t1, x2) (t3, x3) is known, the time after TL (AF time lag + release time lag) from time t3 based on the following equation x (t) = at 2 + bt + c (1) image plane position x 4 in t 4 in which can be predicted.
【0012】ところが、実際にカメラが検知し得るのは
像面位置x1,x2,x3ではなく、デフォーカス量D
F1,DF2,DF3、並びに像面移動量換算のレンズ
駆動量DL1,DL2である。そして時刻t4 はあくま
で将来の値であり、実際には、被写体輝度によって蓄積
型のセンサの蓄積時間が変化すると、それに伴って変化
する値であるが、ここでは簡単のため、次のように仮定
する。However, what the camera can actually detect is not the image plane positions x1, x2 and x3, but the defocus amount D.
F1, DF2, DF3, and lens drive amounts DL1 and DL2 converted into image plane movement amounts. Further, the time t 4 is a future value to the last, and in reality, it is a value that changes in accordance with a change in the accumulation time of the accumulation type sensor depending on the subject brightness. I assume.
【0013】 t4−t3=TL=TM2+(レリーズタイムラグ) 以上の仮定の基に、時間t3での焦点検出結果から算出
されたレンズ駆動量DL3は以下のように求まる。T4-t3 = TL = TM2 + (release time lag) Based on the above assumption, the lens drive amount DL3 calculated from the focus detection result at the time t3 is obtained as follows.
【0014】 x(t)=at2+bt+c …………(2) そして、図中の(t1,L1)を原点と考えると、 t1=0 x1=DF1 …………(3) t2=TM1 x2=DF2+DL1 …………(4) t3=TM1+TM2 x3=DF3+DL1+DL2 ………(5) 上記(2)式に上記(3),(4),(5)式を代入し
て、a,b,cを求めると、 よって、時刻t4における像面移動量換算のレンズ駆動
量DL3は、 DL3=x4−L3 =x4−x3+DF3 =a{(TM1+TM2+TL)2 −(TM1+TM2)2 } +b・TL+DF3 ……(9) のようにもとまる。X (t) = at2 + bt + c (2) Then, considering (t1, L1) in the figure as the origin, t1 = 0 x1 = DF1 (3) t2 = TM1 x2 = DF2 + DL1 (4) t3 = TM1 + TM2 x3 = DF3 + DL1 + DL2 (5) Substituting the equations (3), (4), and (5) into the equation (2), a, b, and c are substituted. When asked, Therefore, the lens driving amount DL3 converted into the image plane movement amount at the time t4 is as follows: DL3 = x4-L3 = x4-x3 + DF3 = a {(TM1 + TM2 + TL) 2- (TM1 + TM2) 2 } + b.TL + DF3 (9) Motomaru.
【0015】しかし、上記追従補正を行った制御では、
焦点検出誤差やレンズ駆動誤差によって発生する予測誤
差(補正誤差)が焦点検出誤差やレンズ駆動誤差の数倍
から十数倍になってしまうという問題がある。However, in the control in which the tracking correction is performed,
There is a problem that a prediction error (correction error) caused by a focus detection error or a lens drive error becomes several times to ten or more times the focus detection error or the lens drive error.
【0016】図9はこの予測誤差の発生原理を説明する
ための図である。FIG. 9 is a diagram for explaining the principle of occurrence of this prediction error.
【0017】カメラが実際に検知しているのは駆動量及
びデフォーカス量であり、これらの値を基にして被写体
の像面位置を算出している。このため、焦点検出誤差や
レンズ駆動誤差は像面位置の検出誤差となってしまう。
図9のように実線で書かれた実際の像面位置x(t)に
対して時刻t2において、δ1の像面位置検出誤差が発
生したとき、カメラが検知している像面位置は一点差線
で書かれているx’(t)となってしまう。このとき、
検出誤差δ1に対して最後の焦点検出が行われた時刻t
3から所定の時間TL後の像面位置の差はδP となり、
これが予測誤差である。What the camera actually detects is the drive amount and the defocus amount, and the image plane position of the subject is calculated based on these values. Therefore, the focus detection error and the lens driving error become the detection error of the image plane position.
When an image plane position detection error of δ1 occurs at time t2 with respect to the actual image plane position x (t) written by a solid line as shown in FIG. 9, the image plane position detected by the camera is one point difference. It becomes x '(t) written in a line. At this time,
Time t at which the last focus detection was performed for the detection error δ1
The difference in the image plane position after a predetermined time TL from 3 is δ P ,
This is the prediction error.
【0018】このように検出時の誤差δ1に対して予測
誤差δP は数倍の大きさになってしまい、場合によって
は十数倍になってしまう。このように追従予測制御で
は、従来の制御で問題のないレベルの検出誤差であった
ものが大きく拡大されるために、予測誤差が許容レベル
を越えてしまうという問題が発生している。As described above, the prediction error δ P becomes several times as large as the error δ1 at the time of detection, and in some cases, becomes more than ten times. As described above, in the follow-up predictive control, a detection error of a level that does not cause a problem in the conventional control is greatly enlarged, so that the prediction error exceeds a permissible level.
【0019】このような問題を解決する手段の1つとし
て、特開昭63−5316号にて、加重平均によって外
乱ノイズの影響を低減させ、安定した追従予測制御を行
うという提案がなされている。As one of means for solving such a problem, Japanese Patent Laid-Open No. 63-5316 proposes to reduce the influence of disturbance noise by weighted averaging and perform stable follow-up prediction control. .
【0020】これは、以下の(10)式のように、前回
の演算で求まった平均像面移動速度LWR(1)と今回
検出された像面移動速度WR(0)の平均値を求めると
いうもの、或は(11)式のように、今回検出された像
面移動速度の比重を大きくして像面移動の変化が大きい
被写体に対する追従性能を重視したものである。 This is to obtain the average value of the average image plane moving speed LWR (1) obtained by the previous calculation and the image plane moving speed WR (0) detected this time, as in the following equation (10). In this case, as in formula (11), the specific gravity of the image plane moving speed detected this time is increased to emphasize the follow-up performance for a subject whose change in image plane movement is large.
【0021】なお、LWR(0)は今回求める平均像面
移動速度、LWR(1)は前回求まった平均像面移動速
度、WR(0)は今回検出された像面移動速度である。Note that LWR (0) is the average image plane moving speed obtained this time, LWR (1) is the average image plane moving speed obtained last time, and WR (0) is the image plane moving speed detected this time.
【0022】このように平均化処理を行うことによっ
て、今回検出された像面移動速度に含まれる誤差の影響
を上記(10)式の場合「1/2」、上記(11)式の
場合「3/4」に低減することができ、これによって検
出誤差の影響を受けにくい、安定した予測制御が可能に
なるようにしたものである。By performing the averaging process in this way, the influence of the error contained in the image plane moving velocity detected this time is "1/2" in the above equation (10) and "1/2" in the above equation (11). It can be reduced to 3/4 ", which enables stable prediction control that is not easily affected by the detection error.
【0023】[0023]
【発明が解決しようとする課題】しかしながら、上記の
従来例では、加重平均を行う際に使用している重み付け
が使用条件が同じであれば常に一定であるために、次の
ような問題が発生している。However, in the above-described conventional example, the following problems occur because the weighting used when performing weighted averaging is always constant if the usage conditions are the same. is doing.
【0024】図10は像面位置が一定の状態、すなわち
静止した被写体に対して焦点検出を行っているときの像
面位置と時間の関係を示したものである。このとき、焦
点検出時間間隔が異なる二つの値TA,TB(TA<T
B)において、同じ焦点検出誤差δ1が発生したときに
検出される像面移動速度V1,V2はそれぞれ次式のよ
うになる。FIG. 10 shows the relationship between the image plane position and time when the image plane position is constant, that is, when focus detection is performed on a stationary subject. At this time, two values TA and TB (TA <T
In B), the image plane moving velocities V1 and V2 detected when the same focus detection error δ1 occurs are as follows.
【0025】 V1=δ1/TA …………(12) V2=δ1/TB …………(13) ここで、被写体は移動していないので、V1,V2は像
面移動速度の検出誤差となり、その大きさは「V1>V
2」となる。ここで焦点検出誤差が同じでも、焦点検出
時間間隔が異なると像面移動速度の検出誤差も異なり、
焦点検出時間間隔が小さいほど像面移動速度の検出誤差
は大きくなる。V1 = δ1 / TA (12) V2 = δ1 / TB (13) Here, since the subject is not moving, V1 and V2 are detection errors of the image plane moving speed. , Its size is "V1>V"
2 ”. Here, even if the focus detection error is the same, if the focus detection time interval is different, the detection error of the image plane moving speed is also different,
The smaller the focus detection time interval, the larger the detection error of the image plane moving speed.
【0026】このように、検出された像面移動速度に含
まれる誤差成分を評価せずに加重平均処理を行うと、そ
の状況に応じた適切な平均化処理が行えず、状況によっ
ては過剰な平均化によって追従性能を低下させたり、平
均化が不足して安定性が確保できないなどの問題が発生
する。As described above, if the weighted averaging process is performed without evaluating the error component included in the detected image plane moving velocity, the averaging process appropriate for the situation cannot be performed, and depending on the situation, it may be excessive. There are problems such as deterioration of tracking performance due to averaging, and insufficient stability due to insufficient averaging.
【0027】上記平均処理の重み付けが不足したり、あ
るいは過剰になったりする原因として、焦点検出時間間
隔が大きく変化するというものがあり、これはレンズ駆
動を行ったり行わなかったりしたときに発生する。これ
は、焦点検出の間にレンズ駆動が行われればレンズ駆動
に要するレンズ駆動時間の分だけ焦点検出時間間隔が大
きくなり、そうではないときには焦点検出時間間隔が大
きくならないためで、このような状況はあまりレンズ駆
動量が大きくない遅い速度の被写体のときに起り易い。One of the reasons why the weighting of the averaging process is insufficient or excessive is that the focus detection time interval changes significantly, which occurs when the lens is driven or not driven. . This is because if the lens drive is performed during focus detection, the focus detection time interval increases by the lens drive time required for lens drive, and otherwise the focus detection time interval does not increase. Is likely to occur when the subject has a slow speed and the lens drive amount is not so large.
【0028】(本発明の目的)本発明の目的は、被写体
の追従補正の安定性及び精度を向上させることのできる
カメラの自動焦点調節装置を提供することである。(Object of the Invention) It is an object of the present invention to provide an automatic focus adjusting device for a camera capable of improving the stability and accuracy of tracking correction of an object.
【0029】[0029]
【課題を解決するための手段】本発明は、焦点検出手段
にて過去複数回求められたデフォーカス量と焦点検出の
時間間隔情報に基づいて所定時間後における被写体の像
面位置を所定の関数に近似して求め、所定時間後におけ
る被写体の像面位置と撮影レンズの像面位置を一致させ
るべくレンズ駆動手段を制御する演算手段内に、焦点検
出によって得られる像面位置の変化速度の信頼性を考慮
した加重平均によって、近似する関数を設定する設定手
段を設け、像面位置の変化速度の信頼性を評価する為
に、検出された焦点検出を行った時間間隔、焦点検出精
度(各デフォーカス量の信頼性)を使用するようにして
いる。According to the present invention, an image plane position of a subject after a predetermined time is determined based on a defocus amount and focus detection time interval information obtained a plurality of times by the focus detection means. And the reliability of the speed of change of the image plane position obtained by focus detection in the arithmetic means for controlling the lens driving means so as to match the image plane position of the subject and the image plane position of the photographing lens after a predetermined time. In order to evaluate the reliability of the changing speed of the image plane position, the time interval at which the detected focus is detected, the focus detection accuracy (each The reliability of the defocus amount) is used.
【0030】[0030]
【実施例】図1は本発明の第1の実施例における自動焦
点調節装置を備えたカメラの要部構成を示すブロック図
である。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing the essential structure of a camera equipped with an automatic focusing device according to a first embodiment of the present invention.
【0031】図1において、PRSはカメラの制御装置
で、例えば内部にCPU(中央処理装置),ROM ,R
AM ,A/D変換機能を有する1チップ・マイクロコン
ピュータである。この制御装置(以下、コンピュータと
記す)PRSはROMに格納されたカメラのシーケンス
・プログラムに従って、自動露出制御機能,自動焦点検
出機能,フィルムの巻き上げ等のカメラの一連の動作を
行う。そのために、コンピュータPRSは同期式通信信
号SO, SI, SCLK、通信選択信号CLCM ,CS
DR, CDDRを用いて、カメラ本体内の周辺回路及び
レンズと通信して、各々の回路やレンズの動作を制御す
る。In FIG. 1, PRS is a camera control device, for example, a CPU (central processing unit), ROM, R
It is a one-chip microcomputer having an AM and A / D conversion function. This control device (hereinafter referred to as a computer) PRS performs a series of camera operations such as an automatic exposure control function, an automatic focus detection function, and film winding according to a camera sequence program stored in a ROM. For that purpose, the computer PRS is provided with the synchronous communication signals SO, SI, SCLK and the communication selection signals CLCM, CS.
The DR and CDR are used to communicate with peripheral circuits and lenses in the camera body to control the operation of each circuit and lens.
【0032】SOはコンピュータPRSから出力される
データ信号、SIはコンピュータPRSへ入力されるデ
ータ信号、SCLKは信号SO,SIの同期クロックで
ある。SO is a data signal output from the computer PRS, SI is a data signal input to the computer PRS, and SCLK is a synchronous clock of the signals SO and SI.
【0033】LCMはレンズ通信バッファ回路であり、
カメラが動作中のときにはレンズ用電源端子に電力を供
給すると共に、コンピュータPRSからの選択信号CL
CMが高電位レベル(以下、“H”と記す)のときには
カメラとレンズ間通信バッファとなる。即ち、コンピュ
ータPRSが選択信号CLCMを“H”にして、SCL
Kに同期して所定のデータをSOから送出すると、LC
Mはカメラ・レンズ間接点を介して、SCLK,SOの
各々のバッファ信号LCVK,DCLをレンズへ出力す
る。それと同時にレンズからの信号DLC のバッファ信号
をSIとして出力し、コンピュータPRSはSCLKに
同期して上記SIをレンズからのデータとして入力す
る。LCM is a lens communication buffer circuit,
When the camera is operating, power is supplied to the lens power supply terminal and the selection signal CL from the computer PRS is supplied.
When CM is at a high potential level (hereinafter referred to as "H"), it serves as a communication buffer between the camera and the lens. That is, the computer PRS sets the selection signal CLCM to "H" to set the SCL
When certain data is sent from SO in synchronization with K, LC
M outputs the buffer signals LCVK and DCL of SCLK and SO to the lens via the camera / lens indirect points. At the same time, the buffer signal of the signal DLC from the lens is output as SI, and the computer PRS inputs the above SI as data from the lens in synchronization with SCLK.
【0034】SDRはCCD等から構成される焦点検出
用のラインセンサ装置SNSの駆動回路であり、信号C
SDRが“H”のとき選択されて、SO ,SI,SCL
Kを用いてコンピュータPRSから制御される。SDR is a drive circuit of a line sensor device SNS for focus detection which is composed of a CCD or the like, and has a signal C
Selected when SDR is "H", SO, SI, SCL
It is controlled from the computer PRS using K.
【0035】信号CKはCCD駆動用クロックφ1,φ
2を生成するためのクロックであり、信号INTENDは蓄積
動作が終了したことをコンピュータPRSへ知らせる信
号である。Signals CK are CCD driving clocks φ1, φ
2 is a clock for generating 2, and the signal INTEND is a signal for notifying the computer PRS that the accumulation operation is completed.
【0036】センサ装置SNSの出力信号OSはクロック
φ1,φ2に同期した時系列の像信号であり、駆動回路
SDR内の増幅回路で増幅された後、像信号AOSとし
てコンピュータPRSに出力される。コンピュータPR
Sは像信号AOSをアナログ入力端子から入力し、CK
に同期して、内部のA/D変換機能でA/D変換後、R
AMの所定のアドレスに順次格納する。The output signal OS of the sensor device SNS is a time-series image signal synchronized with the clocks φ1 and φ2, is amplified by the amplifier circuit in the drive circuit SDR, and is then output to the computer PRS as the image signal AOS. Computer PR
S inputs the image signal AOS from the analog input terminal, and CK
R / S after synchronizing A / D with the internal A / D conversion function
The data is sequentially stored at a predetermined address of AM.
【0037】同じくセンサ装置SNSの出力信号である
SAGCは、センサ装置SNS内のAGC(自動利得制
御:Auto Gain Control)用センサの出力であり、駆動回
路SDRに入力されてセンサ装置SNSでの像信号蓄積
制御に用いられる。Similarly, the SAGC which is the output signal of the sensor device SNS is the output of the AGC (Auto Gain Control) sensor in the sensor device SNS, which is input to the drive circuit SDR and the image at the sensor device SNS is input. Used for signal accumulation control.
【0038】SPCは撮影レンズを介した被写体からの
光を受光する露出制御用の測光センサであり、その出力
SSPCはコンピュータPRSのアナログ入力端子に入
力され、A/D変換後、所定のプログラムに従って自動
露出制御(AE)に用いられる。SPC is a photometric sensor for exposure control that receives light from a subject through a taking lens, and its output SSPC is input to an analog input terminal of a computer PRS, and after A / D conversion, according to a predetermined program. Used for automatic exposure control (AE).
【0039】DDRはスイッチ検知及び表示用回路であ
り、信号CDDRが“H”のとき選択されて、SO, S
I,SCLKを用いてコンピュータPRSから制御され
る。即ち、コンピュータPRSから送られてくるデータ
に基づいてカメラの表示部材DPSの表示を切り替えた
り、カメラの各種操作部材のオン・オフ状態を通信によ
ってコンピュータPRSへ報知する。DDR is a switch detection and display circuit, which is selected when the signal CDRD is "H", and SO, S
It is controlled from the computer PRS using I and SCLK. That is, the display of the display member DPS of the camera is switched based on the data sent from the computer PRS, and the on / off states of various operation members of the camera are notified to the computer PRS by communication.
【0040】スイッチSW1,SW2は不図示のレリー
ズボタンに連動したスイッチで、レリーズボタンの第1
段階の押下によりスイッチSW1がオンし、引き続いて
第2段階までの押下でスイッチSW2がオンする。コン
ピュータPRSは後述するように、スイッチSW1オン
で測光,自動焦点調節動作を行い、スイッチSW2オン
をトリガとして露出制御とフィルムの巻き上げを行う。
尚、スイッチSW2はコンピュータPRSの「割込み入
力端子」に接続され、スイッチSW1オン時のプログラ
ム実行中でもスイッチSW2オンによって割込みがかか
り、直ちに所定の割込みプログラムへ移行することが出
来る。The switches SW1 and SW2 are interlocked with a release button (not shown), and are the first release button.
The switch SW1 is turned on by pressing the step, and the switch SW2 is turned on by pressing the second step. As will be described later, the computer PRS performs photometry and automatic focus adjustment operations when the switch SW1 is turned on, and exposure control and film winding are performed when the switch SW2 is turned on.
The switch SW2 is connected to the "interruption input terminal" of the computer PRS, and even when the program is executed when the switch SW1 is on, an interrupt is generated by turning on the switch SW2, and it is possible to immediately shift to a predetermined interrupt program.
【0041】MTR1はフィルム給送用、MTR2はミ
ラーアップ・ダウン及びシャッタばねチャージ用のモー
タであり、各々の駆動回路MDR1,MDR2により正
転・逆転の制御が行われる。コンピュータPRSからM
DR1,MDR2に入力されている信号M1F, M1R
,M2F, M2Rはモータ制御用の信号である。MTR1 is a film feeding motor, MTR2 is a motor for mirror up / down and shutter spring charging, and forward / reverse control is performed by respective drive circuits MDR1 and MDR2. Computer PRS to M
Signals M1F and M1R input to DR1 and MDR2
, M2F, M2R are signals for motor control.
【0042】MG1,MG2は各々シャッタ先幕・後幕
走行開始用マグネットで、信号SMG1,SMG2、増
幅トランジスタTR1、TR2で通電され、コンピュー
タPRSによりシャッタ制御が行われる。MG1 and MG2 are shutter front and rear curtain running start magnets, respectively, which are energized by signals SMG1 and SMG2 and amplification transistors TR1 and TR2, and shutter control is performed by a computer PRS.
【0043】尚、スイッチ検知及び表示用回路、モータ
駆動回路MDR1,MDR2、シャッタ制御は、本発明
と直接関わりがないので、詳しい説明は省略する。Since the switch detection and display circuit, the motor drive circuits MDR1 and MDR2, and the shutter control are not directly related to the present invention, detailed description thereof will be omitted.
【0044】レンズ内制御回路LPRSはLCKに同期
して入力される信号DCLは、カメラからレンズFLNSに
対する命令のデータであり、命令に対するレンズの動作
が予め決められている。The signal DCL input to the in-lens control circuit LPRS in synchronization with LCK is data of a command from the camera to the lens FLNS, and the operation of the lens in response to the command is predetermined.
【0045】レンズ内制御回路LPRSは、所定の手続
きに従ってその命令を解析し、焦点調節や絞り制御の動
作や、出力DLCからのレンズの各種パラメータ(開放
Fナンバー,焦点距離,デフォーカス量対繰り出し量の
係数等)の出力を行う。The in-lens control circuit LPRS analyzes the command in accordance with a predetermined procedure, and performs focus adjustment and diaphragm control operations, and various lens parameters (open F number, focal length, defocus amount versus extension) from the output DLC. Output the quantity coefficient, etc.).
【0046】実施例では、ズームレンズの例を示してお
り、カメラから焦点調節の命令が送られた場合には、同
時に送られてくる駆動量、方向に従って、焦点調節用モ
ータLMTRを信号LMF ,LMRによって制御して、
光学系を光軸方向に移動させて焦点調節を行う。光学系
の移動量はエンコーダ回路ENCFのパルス信号SENCF
でモニターして、レンズ内制御回路LPRS内のカウン
タで計数しており、所定の移動が完了した時点で、該回
路LPRS自身が信号LMF,LMRを“L”にしてモ
ータLMTRを停止させる。In the embodiment, an example of a zoom lens is shown, and when a focus adjustment command is sent from the camera, the focus adjustment motor LMTR is controlled by the signals LMF, according to the drive amount and direction sent at the same time. Controlled by LMR,
Focusing is performed by moving the optical system in the optical axis direction. The movement amount of the optical system is the pulse signal SENCF of the encoder circuit ENCF.
Is monitored and counted by the counter in the lens control circuit LPRS, and when the predetermined movement is completed, the circuit LPRS itself sets the signals LMF and LMR to "L" to stop the motor LMTR.
【0047】このため、一旦カメラから焦点調節の命令
が送られた後は、カメラ内の制御装置PRSはレンズの
駆動が終了するまで、レンズ駆動に関して全く関与する
必要がない。Therefore, once the focus adjustment command is sent from the camera, the control device PRS in the camera does not need to be involved in lens driving at all until the lens driving is completed.
【0048】又、カメラから絞り制御の命令が送られた
場合には、同時に送られてくる絞り段数に従って、絞り
駆動用としては公知のステッピング・モータDMTRを
駆動する。尚、ステッピング・モータはオープン制御が
可能なため、動作をモニターするためのエンコーダを必
要としない。When an aperture control command is sent from the camera, a stepping motor DMTR known for driving the aperture is driven in accordance with the number of aperture steps sent at the same time. Since the stepping motor can be open-controlled, it does not require an encoder for monitoring the operation.
【0049】ENCZはズーム光学系に付随したエンコ
ーダ回路であり、レンズ内制御回路LPRSはエンコー
ダ回路ENCZからの信号SENCZ を入力してズーム位置を検
出する。レンズ内制御回路LPRS内には各ズーム位置
におけるレンズパラメータが格納されており、カメラ側
のコンピュータPRSから要求があった場合には、現在
のズーム位置に対応したパラメータをカメラへ送出す
る。ENCZ is an encoder circuit attached to the zoom optical system, and the in-lens control circuit LPRS inputs the signal SENCZ from the encoder circuit ENCZ to detect the zoom position. The lens parameter at each zoom position is stored in the in-lens control circuit LPRS, and when there is a request from the computer PRS on the camera side, the parameter corresponding to the current zoom position is sent to the camera.
【0050】上記構成によるカメラの動作について、図
2のフローチャートに従って説明する。The operation of the camera having the above structure will be described with reference to the flowchart of FIG.
【0051】不図示の電源スイッチがオンとなると、コ
ンピュータPRSへの給電が開始され、該コンピュータ
PRSはROMに格納されたシーケンスプログラムの実
行を開始する。When a power switch (not shown) is turned on, power supply to the computer PRS is started, and the computer PRS starts executing the sequence program stored in the ROM.
【0052】上記操作にて、プログラムの実行が開始さ
れると、ステップ(001)を経てステップ(002)
において、レリーズボタンの第1段階押下によりONと
なるスイッチSW1の状態検知がなされ、該スイッチS
W1がOFFのときにはステップ(003)へ移行して
コンピュータPRS内のRAMに設定されている制御用
フラグ変数を全てクリアし、初期化する。When the execution of the program is started by the above operation, the program proceeds to step (002) through step (002).
, The state of the switch SW1 which is turned on when the release button is pressed in the first step is detected.
When W1 is OFF, the process proceeds to step (003) to clear and initialize all the control flag variables set in the RAM in the computer PRS.
【0053】上記ステップ(002),(003)は、
スイッチSW1がONとなるか、或は、電源スイッチが
OFFとなるまで繰返し実行される。そして、スイッチ
SW1がONすることによりステップ(002)からス
テップ(005)へと移行する。The steps (002) and (003) are
The process is repeated until the switch SW1 is turned on or the power switch is turned off. When the switch SW1 is turned on, the process moves from step (002) to step (005).
【0054】ステップ(005)においては、露出制御
のための「測光」サブルーチンを実行する。コンピュー
タPRSは、図1に示した測光用センサSPCの出力S
SPCをアナログ入力端子に入力し、A/D変換を行っ
てそのデジタル測光値から最適なシャッタ制御値、絞り
制御値を演算してRAMの所定アドレスへ格納する。そ
して、レリーズ動作時には、これらの値に基づいてシャ
ッタ及び絞り制御を行う。In step (005), a "photometry" subroutine for exposure control is executed. The computer PRS is the output S of the photometric sensor SPC shown in FIG.
The SPC is input to the analog input terminal, A / D converted, and the optimum shutter control value and aperture control value are calculated from the digital photometric value and stored in a predetermined address of the RAM. Then, during the release operation, the shutter and the diaphragm are controlled based on these values.
【0055】続いてステップ(006)においては、
「像信号入力」サブルーチンを実行する。このサブルー
チンのフローは図3に示しているが、ここでは詳細な説
明は後述するが、このステップ(006)ではコンピュ
ータPRSが焦点検出用センサ装置SNSから像信号の
入力を行う。Then, in step (006),
The "image signal input" subroutine is executed. Although the flow of this subroutine is shown in FIG. 3, a detailed description will be given later, but in this step (006), the computer PRS inputs an image signal from the focus detection sensor device SNS.
【0056】次のステップ(007)においては、入力
した像信号に基づいて撮影レンズのデフォーカス量DE
Fを演算する。具体的な演算方法は本願出願人によって
特願昭61ー160824号公報等にて開示されている
ので、ここでは詳細な説明は省略する。In the next step (007), the defocus amount DE of the photographing lens is calculated based on the input image signal.
Calculate F. The specific calculation method is disclosed by the applicant of the present application in Japanese Patent Application No. 61-160824, and the detailed description thereof is omitted here.
【0057】ステップ(008)においては、「予測演
算」サブルーチンを実行する。この「予測演算」サブル
ーチンではレンズ駆動量の補正を行うものであり、詳細
は後述する。In step (008), a "prediction calculation" subroutine is executed. This "prediction calculation" subroutine corrects the lens drive amount and will be described in detail later.
【0058】次のステップ(009)においては、「レ
ンズ駆動」サブルーチンを実行し、先のステップ(00
8)で補正されたレンズ駆動量に基づいてレンズ駆動を
行う。この「レンズ駆動」サブルーチンの詳細は図4に
て後述する。In the next step (009), the "lens drive" subroutine is executed, and the previous step (00
The lens is driven based on the lens driving amount corrected in 8). Details of this "lens drive" subroutine will be described later with reference to FIG.
【0059】レンズ駆動終了後は再びステップ(00
2)へ移行して、SW1がOFFするか不図示のレリー
ズスイッチSW2がONするまで、上記ステップ(00
5)〜(009)が繰返して実行され、動いている被写
体に対しても好ましい焦点調節が行われる。After the lens driving is completed, the step (00
2), until the SW1 is turned off or the release switch SW2 (not shown) is turned on, the above step (00
5) to (009) are repeatedly executed, and preferable focus adjustment is also performed on the moving subject.
【0060】さて、レリーズボタンが更に押込まれて、
スイッチSW2がONすると、割込み機能によっていず
れのステップにあっても直ちにステップ(010)に進
み、レリーズ動作を開始する。Now, when the release button is pushed further,
When the switch SW2 is turned on, the process immediately proceeds to step (010) in any step by the interrupt function to start the release operation.
【0061】ステップ(011)においては、レンズ駆
動を実行中かどうか判別し、駆動中であればステップ
(012)に移行し、レンズ駆動停止命令を送出し、レ
ンズを停止させてステップ(013)に進む。一方、レ
ンズを駆動していなければ直ちにステップ(013)へ
と移行する。In step (011), it is determined whether or not the lens drive is being executed. If the lens drive is in progress, the process proceeds to step (012), a lens drive stop command is sent to stop the lens, and step (013). Proceed to. On the other hand, if the lens is not driven, the process immediately proceeds to step (013).
【0062】ステップ(013)においては、カメラの
クイックリターンミラーのミラーアップを行う。これ
は、図1に示したモータ制御用信号M2F,M2Rを制
御することで実行される。次のステップ(014)にお
いては、先のステップ(005)の「測光」サブルーチ
ンで既に格納されている絞り制御値をSO信号として回
路LCMを介してレンズ内制御回路LPRSへ送出して
絞り制御を行わせる。In step (013), the quick return mirror of the camera is raised. This is executed by controlling the motor control signals M2F and M2R shown in FIG. In the next step (014), the aperture control value already stored in the "photometry" subroutine of the previous step (005) is sent as an SO signal to the in-lens control circuit LPRS via the circuit LCM to control the aperture. Let it be done.
【0063】前記ステップ(013),(014)にお
いて行われるミラーアップと絞り制御が完了したか否か
はステップ(015)で検知するわけであるが、ミラー
アップはミラーに付随した不図示の検知スイッチにて確
認することが出来、絞り制御は、レンズに対して所定の
絞り値まで駆動したか否かを通信で確認する。いずれか
が未完了の場合には、このステップで待機し、引き続き
状態検知を行う。両者の制御終了が確認されるとステッ
プ(016)へ移行する。Whether or not the mirror up and diaphragm control performed in the steps (013) and (014) are completed is detected in the step (015). The mirror up is not shown in the figure and is detected. It can be confirmed by a switch, and the aperture control confirms by communication whether or not the lens has been driven to a predetermined aperture value. If any of them is not completed, the process waits at this step and the state detection is continued. When both control ends are confirmed, the process proceeds to step (016).
【0064】ステップ(016)においては、先のステ
ップ(005)の「測光」サブルーチンで既に格納され
ているシャッタ秒時にてシャッタの制御を行いフィルム
を露光する。In step (016), the shutter is controlled at the shutter time already stored in the "photometry" subroutine of the previous step (005) to expose the film.
【0065】シャッタの制御が終了すると次のステップ
(017)へ移行し、ここではレンズに対して絞りを開
放状態にするように命令を前述の通信動作にて送り、引
き続いてステップ(018)において、ミラーダウンを
行う。ミラーダウンはミラーアップと同様にモータ制御
信号M2F,M2Rを用いてモータMTR2を制御する
ことで実行される。When the shutter control is completed, the process proceeds to the next step (017), in which a command is sent to the lens by the above-mentioned communication operation so as to open the diaphragm, and then in step (018). , Down the mirror. The mirror down is executed by controlling the motor MTR2 using the motor control signals M2F and M2R as in the mirror up.
【0066】次のステップ(019)においては、前記
ステップ(015)と同様にミラーダウンと絞り開放が
完了するのを待つ。ミラーダウンと絞り開放制御がとも
に完了するとステップ(020)へ移行する。In the next step (019), like the step (015), the completion of the mirror down and the aperture opening is waited for. When both the mirror down and the aperture opening control are completed, the process proceeds to step (020).
【0067】ステップ(020)においては、図1に示
したモータ制御用信号M1F,M1Rを適正に制御する
ことでフィルム1駒分が巻き上げられる。At step (020), one frame of film is wound by properly controlling the motor control signals M1F and M1R shown in FIG.
【0068】以上が予測AFを実施したカメラの全体シ
ーケンスである。The above is the entire sequence of the camera that has performed the predictive AF.
【0069】次に、上記図2のステップ(006)にて
コールされる「像信号入力」サブルーチンについて、図
3のフローチャートを用いて説明する。Next, the "image signal input" subroutine called in step (006) of FIG. 2 will be described with reference to the flowchart of FIG.
【0070】「像信号入力」は新たな焦点検出動作の最
初に実行される動作であり、このサブルーチンがコール
されると、ステップ(101)を経てステップ(10
2)において、コンピュータPRS自身が有している自
走タイマのタイマ値TIMERをRAM上の記憶領域T
Nに格納することによって、焦点検出動作の開始時刻を
記憶する。"Image signal input" is an operation executed at the beginning of a new focus detection operation, and when this subroutine is called, step (101) is passed through step (10).
In 2), the timer value TIMER of the free-running timer possessed by the computer PRS itself is set to the storage area T on the RAM.
By storing it in N, the start time of the focus detection operation is stored.
【0071】次のステップ(103)においては、レン
ズ駆動量補正式(6),(7),(9)中の時間間隔を
記録するメモリTM1,TM2の内容を更新する。この
ステップ(103)を実行する以前には、該メモリTM
1,TM2には前々回及び前回の焦点検出動作における
時間間隔が記録されており、またメモリTN1には前回
の焦点検出動作を開始した時刻が記憶されている。In the next step (103), the contents of the memories TM1 and TM2 for recording the time intervals in the lens drive amount correction equations (6), (7) and (9) are updated. Before executing this step (103), the memory TM
1 and TM2 record the time intervals of the focus detection operation two times before and the previous time, and the memory TN1 stores the time when the previous focus detection operation was started.
【0072】よって、このステップ(103)での(T
N1ーTN)は前回から今回までの焦点検出動作の時間
間隔を表し、これが、メモリTM2へ記録される。ま
た、メモリTM1へは「TM2←(TN1ーTN)」を
実行する直前のデータ、即ち前々回から前回までの焦点
時間間隔が記録される。このステップ(103)にてメ
モリTM1には常に前々回時間間隔データが、また、メ
モリTM2には前回の時間間隔データが記憶されること
となる。Therefore, in this step (103), (T
N1-TN) represents the time interval of the focus detection operation from the previous time to this time, and this is recorded in the memory TM2. Further, the data immediately before the execution of "TM2 ← (TN1-TN)", that is, the focus time interval from the last two times to the previous time is recorded in the memory TM1. In this step (103), the memory TM1 always stores the time-preceding time interval data, and the memory TM2 stores the previous time interval data.
【0073】次のステップ(104)においては、セン
サ装置SNSに光像の蓄積を開始させる。具体的にはコ
ンピュータPRSが駆動回路SDRに通信にて「蓄積開
始コマンド」を送出し、これを受けて駆動回路SDRは
センサ装置SNSの光電変換素子部のクリア信号CLR
を“L”にして電荷の蓄積を開始させる。In the next step (104), the sensor device SNS is caused to start accumulating an optical image. Specifically, the computer PRS sends a "storage start command" to the drive circuit SDR by communication, and in response to this, the drive circuit SDR causes the drive circuit SDR to clear the clear signal CLR of the photoelectric conversion element section of the sensor device SNS.
To "L" to start charge accumulation.
【0074】ステップ(105)においては、自走タイ
マのタイマ値を変数TIに格納して現在の時刻を記憶す
る。In step (105), the timer value of the free-running timer is stored in the variable TI to store the current time.
【0075】次のステップ(106)においては、コン
ピュータPRSの入力INTEND端子の状態を検知し、蓄積
が終了したか否かを調べる。センサ駆動回路SDRは蓄
積開始と同時に信号INTENDを“L”にし、センサ装置S
NSからのAGC信号SAGCをモニターし、該信号S
AGCが所定レベルに達すると、信号INTENDを“H”に
し、同時に電荷転送信号SHを所定時間“H”にして、
光電変換素子部の電荷をCCD部に転送させる構造を有
している。ここで、INTEND端子が“H”ならば蓄積が終
了したということでステップ(110)へ移行し、
“L”ならば未だ蓄積が終了していないということでス
テップ(107)へ移行する。In the next step (106), the state of the input INTEND terminal of the computer PRS is detected to check whether or not the accumulation is completed. The sensor drive circuit SDR sets the signal INTEND to "L" at the same time as the accumulation starts, and the sensor device S
The AGC signal SAGC from the NS is monitored and the signal S
When AGC reaches a predetermined level, the signal INTEND is set to "H", and at the same time, the charge transfer signal SH is set to "H" for a predetermined time,
It has a structure for transferring the charges of the photoelectric conversion element section to the CCD section. Here, if the INTEND terminal is "H", it means that the accumulation is completed, and thus the process proceeds to step (110),
If it is "L", it means that the accumulation is not completed yet, and thus the process proceeds to step (107).
【0076】ステップ(107)においては、自走タイ
マのタイマ値TIMERからステップ(105)で記憶
した時刻TIを減じ、これを変数TEに格納する。従っ
て、変数TEには蓄積開始してからここまでの時刻、い
わゆる蓄積時間が格納されていることになる。In step (107), the time TI stored in step (105) is subtracted from the timer value TIMER of the free-running timer, and this is stored in the variable TE. Therefore, the variable TE stores the time from the start of accumulation until this time, so-called accumulation time.
【0077】次のステップ(108)においては、変数
TEと定数MAXINTを比較し、変数TEが定数MAXINT未満
ならばステップ(106)へ戻り、再び蓄積終了待ちと
なる。一方、変数TEが定数MAXINT以上になるとステッ
プ(109)へ移行する。In the next step (108), the variable TE is compared with the constant MAXINT. If the variable TE is less than the constant MAXINT, the process returns to step (106) and waits for the end of accumulation again. On the other hand, when the variable TE becomes equal to or larger than the constant MAXINT, the process proceeds to step (109).
【0078】ステップ(109)においては、強制的に
蓄積を終了させる。強制蓄積終了はコンピュータPRS
から駆動回路SDRへ「蓄積終了コマンド」を送出する
ことで実行される。駆動回路SDRはコンピュータPR
Sから「蓄積終了コマンド」が送られると、電荷転送信
号SHを所定時間“H”にして光電変換部の電荷をCC
D部へ転送させる。このステップ(109)までのフロ
ーでセンサの蓄積は終了することになる。In step (109), the accumulation is forcibly ended. Computer PRS for forced termination
Is executed by sending a "storage end command" from the drive circuit to the drive circuit SDR. The drive circuit SDR is a computer PR
When the "storage end command" is sent from S, the charge transfer signal SH is set to "H" for a predetermined time and the charge of the photoelectric conversion unit is CCed.
Transfer to section D. The accumulation of the sensor is completed by the flow up to this step (109).
【0079】次のステップ(110)においては、セン
サ装置SNSの信号OSを駆動回路SDRで増幅した像
信号AOSのA/D変換及びそのディジタル信号のRA
Mへの格納を行う。より詳しく述べるならば、駆動回路
SDRはコンピュータPRSからのクロックCKに同期
してCCD駆動用クロックφ1, φ2を生成してセンサ
装置SNSへ与え、センサ装置SNSは該クロックφ
1, φ2によってCCD部が駆動され、CCD内の電荷
は像信号として出力OSから時系列的に出力される。こ
の信号は駆動回路SDR内部の増幅器で増幅された後
に、像信号AOSとしてコンピュータPRSのアナログ
入力端子へ入力される。コンピュータPRSは自らが出
力しているクロックCKに同期してA/D変換を行い、
A/D変換後のディジタル像信号を順次RAMの所定ア
ドレスに格納していく。In the next step (110), the signal OS of the sensor device SNS is amplified by the drive circuit SDR, A / D conversion of the image signal AOS and RA of its digital signal are carried out.
Store in M. More specifically, the drive circuit SDR generates CCD drive clocks φ1 and φ2 in synchronization with the clock CK from the computer PRS and supplies them to the sensor device SNS.
The CCD section is driven by 1 and φ2, and the charge in the CCD is output as an image signal from the output OS in time series. This signal is amplified by the amplifier inside the drive circuit SDR and then input to the analog input terminal of the computer PRS as the image signal AOS. The computer PRS performs A / D conversion in synchronization with the clock CK output by itself,
The digital image signal after A / D conversion is sequentially stored in a predetermined address of the RAM.
【0080】このようにして像信号の入力を終了する
と、ステップ(111)にてこの「像信号入力」サブル
ーチンをリターンする。When the input of the image signal is completed in this way, this "image signal input" subroutine is returned in step (111).
【0081】次に、上記図2のステップ(009)にて
コールされる「レンズ駆動」サブルーチンについて、図
4のフローチャートを用いて説明する。Next, the "lens drive" subroutine called in step (009) of FIG. 2 will be described with reference to the flowchart of FIG.
【0082】このサブルーチンが実行されると、ステッ
プ(201)を介してステップ(202)において、レ
ンズと通信して、2つのデータ「S」「PTH」を入力
する。「S」は撮影レンズ固有の「デフォーカス量対焦
点調節レンズ繰り出し量の係数」であり、例えば全体繰
り出し型の単レンズの場合には、撮影レンズ全体が焦点
調節レンズであるから「S=1」であり、ズームレンズ
の場合にはエンコーダENCZにて検知された各ズーム
位置に応じて制御回路LPRSにて「S」を決定する。
「RTH」は焦点調節レンズFLNSの光軸方向の移動
に連動したエンコーダENCFからの出力パルス1パルス当
たりの焦点調節レンズの繰り出し量である。When this subroutine is executed, in step (202) through step (201), communication with the lens is made and two data "S" and "PTH" are input. "S" is a "coefficient of the defocus amount versus the amount of extension of the focus adjustment lens" peculiar to the photographing lens. In the case of a zoom lens, “S” is determined by the control circuit LPRS according to each zoom position detected by the encoder ENCZ.
“RTH” is the amount of extension of the focus adjustment lens per one output pulse from the encoder ENCF that is interlocked with the movement of the focus adjustment lens FLNS in the optical axis direction.
【0083】従って、焦点調節すべきデフォーカス量D
L, 上記S,PTHにより焦点調節レンズの繰り出し量
をエンコーダの出力パルス数に換算した値、いわゆるレ
ンズ駆動量FPは次式で与えられることになる。Therefore, the defocus amount D for the focus adjustment
A value obtained by converting the extension amount of the focus adjustment lens into the number of output pulses of the encoder by L, the above S, and PTH, that is, the so-called lens drive amount FP is given by the following equation.
【0084】FP=DL×S/PTH ステップ(203)は上式をそのまま実行している。FP = DL × S / PTH Step (203) executes the above equation as it is.
【0085】次のステップ(204)においては、前記
ステップ(203)で求めたレンズ駆動量FPをレンズ
に送出して焦点調節レンズ(全体繰り出し型単レンズの
場合には撮影レンズ全体)の駆動を命令する。In the next step (204), the lens drive amount FP obtained in the above step (203) is sent to the lens to drive the focus adjustment lens (in the case of the whole extension type single lens, the entire photographing lens). Command.
【0086】ステップ(205)においては、レンズと
通信してステップ(204)で命令したレンズ駆動量F
Pの駆動が終了したか否かを検知し、駆動が終了すると
ステップ(206)へ移行して「レンズ駆動」サブルー
チンをリターンする。In step (205), the lens drive amount F instructed in step (204) by communicating with the lens.
It is detected whether or not the driving of P is finished, and when the driving is finished, the routine proceeds to step (206) and the "lens driving" subroutine is returned.
【0087】このレンズ駆動完了検知は、上述の如くレ
ンズ内制御回路LPRS内のカウンタで上記エンコーダ
ENCFのパルス信号をカウントしており、該カウント
値が上記レンズ駆動量FPと一致したか否かを上記の通
信にて検知することで実行される。In this lens drive completion detection, as described above, the counter in the in-lens control circuit LPRS counts the pulse signal of the encoder ENCF, and it is determined whether or not the counted value matches the lens drive amount FP. It is executed by detecting the above communication.
【0088】次に図2のステップ(008)にてコール
される「予測演算」サブルーチンについて、図5のフロ
ーチャートにより説明する。Next, the "prediction calculation" subroutine called in step (008) of FIG. 2 will be described with reference to the flowchart of FIG.
【0089】この「予測演算」サブルーチンにおいて
は、予測制御が不安定になりやすい像面移動速度が小さ
いときには、焦点検出時間間隔を考慮した加重平均によ
って安定した予測制御を行うようにしたものである。In the "prediction calculation" subroutine, stable prediction control is performed by weighted averaging in consideration of the focus detection time interval when the image plane moving speed at which prediction control tends to become unstable is small. .
【0090】このサブルーチンが実行されると、ステッ
プ(301)を介してステップ(302)において、予
測に必要なデータの蓄積がなされたかどうかを判定する
ためのカウンタCOUNTをカウントアップするかどう
かを判定する。本実施例では3回以上の焦点検出デー
タ,レンズ駆動データが蓄積されている場合、即ち、
「COUNT>2」であれば予測演算可能であり、これ
以上のカウントアップは必要ないので、「COUNT>
2」であればステップ(304)へ移行する。また、
「COUNT≦2」であればステップ(303)へ移行
し、ここでカウンタCOUNTをカウントアップした
後、ステップ(304)へ移行する。When this subroutine is executed, it is determined in step (302) through step (301) whether or not to count up a counter COUNT for determining whether or not the data required for prediction has been accumulated. To do. In the present embodiment, when the focus detection data and the lens driving data are accumulated three or more times, that is,
If "COUNT>2", the predictive calculation is possible, and there is no need to further count up. Therefore, "COUNT>
If “2”, the process proceeds to step (304). Also,
If "COUNT≤2", the process proceeds to step (303), the counter COUNT is counted up, and then the process proceeds to step (304).
【0091】ステップ(304)においては、今回の予
測演算のためのデータの更新を行っている。In step (304), the data for the current prediction calculation is updated.
【0092】即ち、予測演算は前述の(6),(7),
(8),(9)式に基づいて行われるため、そのデータ
としては、図8における今回のデフォーカス量DF3、
前回及び前々回のデフォーカス量DF2,DF1、前々
回のレンズ駆動量DL1、前回のレンズ駆動量DL2、
前々回焦点検出から前回の焦点検出までの時間間隔TM
1、前回の焦点検出から今回の焦点検出までの時間間隔
TM2、見込みタイムラグTLを必要とする。That is, the prediction calculation is performed in the above (6), (7),
Since it is performed based on the equations (8) and (9), the data is the defocus amount DF3 of this time in FIG.
The defocus amounts DF2 and DF1 of the previous and the previous two times, the lens drive amount DL1 of the two previous times, the lens drive amount DL2 of the previous time,
Time interval TM between the focus detection two times before and the previous focus detection
1. The time interval TM2 from the previous focus detection to the current focus detection and the expected time lag TL are required.
【0093】よって、このステップ(304)では焦点
検出が行われるごとに今回検出されたデフォーカス量D
FをRAM上の記憶領域DF3に入力し、前回のデフォ
ーカス量を記憶領域DF2に、また前々回のデフォーカ
ス量を記憶領域DF1に入力し、更に前回の像面移動量
換算のレンズ駆動量DLを記憶領域DL2に、前々回の
像面移動量換算のレンズ駆動量DL1を記憶領域DL1
に入力し、前回の平均像面移動速度VAを記憶領域VA
0に入力することによって、各記憶領域のデータを今回
の予測演算に必要なデータに更新する。Therefore, in this step (304), the defocus amount D detected this time each time focus detection is performed.
F is input to the storage area DF3 on the RAM, the previous defocus amount is input to the storage area DF2, the previous defocus amount is input to the storage area DF1, and the lens drive amount DL is converted to the previous image plane movement amount. To the storage area DL2, and to the storage area DL1 the lens drive amount DL1 calculated in terms of the image plane movement amount two times before.
To the storage area VA.
By inputting 0, the data in each storage area is updated to the data required for the current prediction calculation.
【0094】ステップ(305)においては、上記ステ
ップ(304)で更新された各データを使って前回の焦
点検出から今回の焦点検出までの平均像面移動速度V1
を次式のように演算する。In step (305), the average image plane moving speed V1 from the previous focus detection to the current focus detection is calculated by using each data updated in the above step (304).
Is calculated according to the following equation.
【0095】 V1=(DL2+DF3ーDF2)/TM2 …………(14) 次のステップ(306)においては、焦点検出時間間隔
による重み付けを行った加重平均処理によって平均像面
移動速度VAを演算する。ここで、加重平均の演算式は
次式の様になる。V1 = (DL2 + DF3−DF2) / TM2 (14) In the next step (306), the average image plane moving speed VA is calculated by the weighted average processing weighted by the focus detection time interval. . Here, the calculation formula of the weighted average is as follows.
【0096】 VA={(TXーTM2)・VA0+TM2・V1}/TX……(15) 上記(15)式でTXは所定の値であり、このTXはT
M2より大きい値であればよいので、通常の焦点検出時
間間隔(焦点検出及びレンズ駆動に要する時間)が「1
00〜150msec」であることから、例えば「TX
=500msec」という値にしても良い。また、連続
撮影時にはさらに焦点検出の間にレリーズ動作が入るた
めに焦点検出時間間隔がその分だけ長くなるので、この
連続撮影時にはTXの値をもっと大きな値に変更しても
良い。VA = {(TX−TM2) · VA0 + TM2 · V1} / TX (15) In the above equation (15), TX is a predetermined value, and this TX is T
Since the value may be larger than M2, the normal focus detection time interval (time required for focus detection and lens driving) is "1.
Since it is “00 to 150 msec”, for example, “TX
= 500 msec ". Further, since the release operation is further performed during focus detection during continuous shooting, the focus detection time interval becomes longer accordingly, so the value of TX may be changed to a larger value during continuous shooting.
【0097】また、VA0は前回演算された平均像面移
動速度であり、初期状態ではゼロである。前回の焦点検
出から今回の焦点検出までの時間間隔TM2が小さけれ
ば、VA0のウエイトが大きくなり、TM2が大きくな
れば、V1のウエイトが小さくなるようになっている。Further, VA0 is the average image plane moving speed calculated last time, which is zero in the initial state. When the time interval TM2 from the previous focus detection to the current focus detection is small, the weight of VA0 is large, and when TM2 is large, the weight of V1 is small.
【0098】このように、検出された像面移動速度V1
の信頼性が低下する焦点検出時間間隔TM2が小さいと
きには、信頼性の低い時間間隔TM2のウエイトを下
げ、平均像面移動速度VA0のウエイトを上げるように
なるので、平均像面移動速度VAは信頼性が高く安定し
たものとなり、一方、焦点検出時間間隔TM2が大きく
信頼性高い像面移動速度V1が得られた場合には、該像
面移動速度V1のウエイトを大きくして追従予測制御の
応答速度を上げるように作用する。Thus, the detected image plane moving speed V1
When the focus detection time interval TM2 at which the reliability of the image is reduced is small, the weight of the time interval TM2 of low reliability is decreased and the weight of the average image plane moving speed VA0 is increased. Therefore, the average image plane moving speed VA is reliable. When the focus detection time interval TM2 is large and a reliable image plane moving speed V1 is obtained, the weight of the image plane moving speed V1 is increased and the response of the tracking prediction control is increased. Acts to increase speed.
【0099】この第1の実施例では、焦点検出時間間隔
によって検出された像面移動速度の信頼性を評価し、こ
れらによって加重平均の重み付けをコントロールするよ
うに構成している。In the first embodiment, the reliability of the image plane moving speed detected by the focus detection time interval is evaluated, and the weighting of the weighted average is controlled by these.
【0100】次のステップ(307)においては、予測
演算を行うのに必要な見込みタイムラグTLを演算する
が、このときの見込みAFタイムラグ(焦点調節に要す
る時間)は、前回の焦点検出から今回の焦点検出に要す
る時間間隔TM2とほぼ同じになるという仮定のもと
に、TM2とレリーズタイムラグTRの和をTLとして
演算している。In the next step (307), the estimated time lag TL required for performing the prediction calculation is calculated. The estimated AF time lag (time required for focus adjustment) at this time is calculated from the previous focus detection to the current time. The sum of TM2 and the release time lag TR is calculated as TL under the assumption that the time interval TM2 required for focus detection is almost the same.
【0101】次のステップ(308)においては、上記
ステップ(306)で得られた平均像面移動速度VAが
所定値AXより大きいか否かを判別し、大きい時にはス
テップ(309)に移行し、そうでない時にはステップ
(310)へ移行する。このステップでは像面移動速度
が大きいときには追従性能を重視した二次関数の予測制
御を行うべくステップ(309)へ移行し、像面移動速
度が小さいときにはステップ(310)へ移行し、追従
性能より安定性を重視した予測制御を行う。In the next step (308), it is judged whether or not the average image plane moving speed VA obtained in the above step (306) is larger than a predetermined value AX, and when it is larger, the process proceeds to step (309), If not, the process proceeds to step (310). In this step, when the image plane moving speed is high, the process proceeds to step (309) in order to perform the predictive control of the quadratic function with emphasis on the tracking performance, and when the image plane moving speed is low, the process proceeds to step (310). Performs predictive control with an emphasis on stability.
【0102】ステップ(309)へ移行した場合には、
このステップにて二次関数を使った予測制御を行うのに
必要なデータの蓄積が行われているか否かを判別する。
カウンタCOUNTの内容が「3」即ち、「COUNT
>2」であれば二次関数を使った予測制御が可能なので
ステップ(311)へ移行し、そうでなければステップ
(310)へ移行する。When the process moves to step (309),
In this step, it is determined whether or not the data necessary for performing the predictive control using the quadratic function is accumulated.
The content of the counter COUNT is "3", that is, "COUNT
If it is ">2", the predictive control using the quadratic function is possible, so the process proceeds to step (311), and if not, the process proceeds to step (310).
【0103】ステップ(311),(312)において
は、各記憶領域DF1〜DF3,DL1,DL2,TM
1,TM2に格納されたデータに基づき、(6),
(7)式のa,b項を表すA,Bを求め、ステップ(3
13)へ移行する。In steps (311) and (312), each of the storage areas DF1 to DF3, DL1, DL2, TM.
1, based on the data stored in TM2, (6),
A and B representing the a and b terms of the equation (7) are obtained, and step (3
Go to 13).
【0104】次のステップ(313)においては、各記
憶手段のデータ及びステップ(307),(311),
(312)の演算値に基づき、(9)式の演算値を求
め、今回の像面移動量換算のレンズ駆動量DLを求め、
このステップを終了するとステップ(316)へ移行す
る。In the next step (313), the data of each storage means and steps (307), (311),
Based on the calculated value of (312), the calculated value of the equation (9) is calculated, and the lens drive amount DL converted in terms of the image plane movement amount this time is calculated.
When this step is completed, the process proceeds to step (316).
【0105】ステップ(308)、或は、ステップ(3
09)からステップ(310)へ移行した場合には、ス
テップ(310)にて一次関数を使った予測制御に必要
なデータが蓄積されているか否かを判断する。このステ
ップではデータの蓄積量を表すカウンタCOUNTの内
容が「1」であれば、データが1回しか蓄積されていな
いので予測制御はできないと判断してステップ(31
5)へ移行し、カウンタCOUNTの内容が「2」或は
「3」のときには、予測制御が可能なのでステップ(3
14)へ移行する。Step (308) or step (3)
When the process proceeds from step 09) to step (310), it is determined in step (310) whether or not the data necessary for the predictive control using the linear function is accumulated. In this step, if the content of the counter COUNT representing the amount of data accumulated is "1", it is judged that the predictive control cannot be performed because the data is accumulated only once, and the step (31
If the content of the counter COUNT is "2" or "3", the predictive control is possible, so step (3) is performed.
Go to 14).
【0106】ステップ(314)においては、ステップ
(306)にて求められた平均像面移動速度VAを使っ
て時間TL後に合焦となるレンズ駆動量DLを次式のよ
うに演算する。At step (314), the lens driving amount DL which is in focus after the time TL is calculated using the average image plane moving speed VA obtained at step (306) as in the following equation.
【0107】 DL=DF3+VA・TL …………(16) ステップ(315)においては、予測制御を行わないの
でレンズ駆動量DLは今回の焦点検出によって得られた
デフォーカス量DFとなる。DL = DF3 + VA · TL (16) In step (315), since the predictive control is not performed, the lens drive amount DL is the defocus amount DF obtained by the focus detection this time.
【0108】次のステップ(316)においては、上記
ステップ(313)或はステップ(314),(31
5)で求まったレンズ駆動量DLと撮影レンズの開放F
ナンバFN及び所定の係数δ(本実施例では最小錯乱円
0.035mm )の積(FN・δ)を比較し、「DL<FN・
δ」であればステップ(317)へ移行し、そうでなけ
ればステップ(318)にてリターンする。In the next step (316), the above step (313) or steps (314), (31)
Lens drive amount DL obtained in 5) and shooting lens opening F
The number FN and the predetermined coefficient δ (in this embodiment, the circle of least confusion
0.035mm) product (FN · δ) is compared, and “DL <FN ·
If δ ”, the process proceeds to step (317), and if not, the process returns at step (318).
【0109】上記の(FN・δ)は像面深度を表し、ス
テップ(316)にて、像面深度(FN・δ)よりレン
ズ駆動量DLが小さい、即ち、レンズ駆動量DLが深度
内の値であり、レンズ駆動を行わなくても合焦状態を維
持することができ、レンズ駆動の必要性がないと判断し
た場合、レンズ駆動量DL=0とし、レンズの駆動を禁
止する。これにより、不必要な微少レンズ駆動を行うこ
とがなくなり、使用感及び電力消費の両面を改善するこ
とができる。The above (FN · δ) represents the depth of field, and in step (316) the lens drive amount DL is smaller than the depth of field (FN · δ), that is, the lens drive amount DL is within the depth. This is a value, and when it is determined that the in-focus state can be maintained without lens driving and there is no need for lens driving, the lens driving amount DL is set to 0, and lens driving is prohibited. As a result, unnecessary microlens driving is not performed, and both the feeling of use and power consumption can be improved.
【0110】また、本実施例では、FNを撮影レンズの
開放Fナンバとしたが、これを撮影絞り値としても何ら
問題はなく、δも0.035mm に限定するものではない。そ
して、このステップを終了すると、次のステップ(31
8)にてこのサブルーチンをリターンする。Further, in this embodiment, FN is the open F number of the taking lens, but there is no problem in using this as the taking aperture value, and δ is not limited to 0.035 mm. When this step is completed, the next step (31
This subroutine is returned at 8).
【0111】このように、像面移動速度が小さく、レン
ズ駆動を行ったり行わなかったりして予測制御が不安定
になり易い時には、加重平均処理を行った像面移動速度
を使って予測制御を行うと共に、レンズ駆動を行わなか
った(焦点検出時間間隔が短くなる)時には検出された
像面移動速度の信頼性が低くなるので、このような時に
は検出された像面移動速度の重み付けを小さくした加重
平均を行うので、より安定した追従予測制御を行うこと
ができる。As described above, when the image plane moving speed is low and the predictive control is likely to be unstable due to the lens driving or not, the predictive control is performed using the image plane moving speed subjected to the weighted average processing. Since the reliability of the detected image plane movement speed becomes low when the lens is not driven (the focus detection time interval becomes short), the weighting of the detected image plane movement speed is reduced in such a case. Since the weighted average is performed, more stable follow-up prediction control can be performed.
【0112】(第2の実施例)本発明の第2の実施例
は、焦点検出精度をも考慮した加重平均処理を行うよう
に構成したカメラを想定しており、カメラ全体の構成は
第1の実施例と同じなので、ここでは内容の異なる「予
測演算」サブルーチンのみについて説明する。(Second Embodiment) The second embodiment of the present invention assumes a camera configured to perform a weighted average process in consideration of focus detection accuracy, and the overall configuration of the camera is the first. Since it is the same as that of the first embodiment, only the "prediction calculation" subroutine having different contents will be described here.
【0113】図6は本発明の第2実施例における「予測
演算」サブルーチンを示すフローチャートであり、この
実施例の特徴は、焦点検出精度と焦点検出時間間隔によ
って検出された像面移動速度の信頼性を評価し、これに
よって加重平均の重み付けをコントロールするようにし
たものである。FIG. 6 is a flow chart showing the "prediction calculation" subroutine in the second embodiment of the present invention. The feature of this embodiment is that the reliability of the image plane moving speed detected by the focus detection accuracy and the focus detection time interval. The weighting average is controlled by evaluating the sex.
【0114】ステップ(401)からステップ(40
5)までのフローは第1の実施例における図5のステッ
プ(301)からステップ(305)までと同じであ
り、ここではこの部分の説明は省略する。From step (401) to step (40
The flow up to 5) is the same as step (301) to step (305) in FIG. 5 in the first embodiment, and the description of this part is omitted here.
【0115】ステップ(406)においては、記憶され
ているデフォーカス量DF2及びDF3が検出されたと
きの像信号のコントラスト及び2像の相関性から焦点検
出精度信頼性を評価し、DF2,DF3の信頼性がとも
に高い場合にはステップ(407)へ移行し、そうでな
い場合、即ち、DF1,DF2のどちらか或は両方の信
頼性が低い場合にはステップ(408)へ移行する。In step (406), the focus detection accuracy reliability is evaluated from the contrast of the image signal and the correlation between the two images when the stored defocus amounts DF2 and DF3 are detected, and the focus detection accuracy reliability of DF2 and DF3 is evaluated. If the reliability is high, the process proceeds to step (407). If not, that is, if the reliability of either or both of DF1 and DF2 is low, the process proceeds to step (408).
【0116】ステップ(407)においては、焦点検出
の信頼性が高いので、図5のステップ(306)と同じ
加重平均処理を行い、ステップ(409)へ移行する。
ここでの処理は第1の実施例と同じなので、詳細な説明
は省略する。In step (407), since the reliability of focus detection is high, the same weighted average processing as in step (306) of FIG. 5 is performed, and the process proceeds to step (409).
Since the processing here is the same as that of the first embodiment, detailed description will be omitted.
【0117】ステップ(408)においては、DF2,
DF3のどちらか或は両方の焦点検出誤差が大きいこと
が予想され、このため、今回検出された像面移動速度V
1の誤差も大きいと予想される。そこで、このステップ
では今回検出された像面移動速度V1の重み付けを小さ
く(実施例では1/2)して加重平均処理を行うように
次式のように演算している。そして、このステップを終
了するとステップ(409)に移行する。 In step (408), DF2,
It is expected that one or both focus detection errors of DF3 are large. Therefore, the image plane moving velocity V detected this time is detected.
The error of 1 is also expected to be large. Therefore, in this step, the weighting of the image plane moving velocity V1 detected this time is made small (1/2 in the embodiment), and the weighted average processing is performed by the following equation. When this step is completed, the process proceeds to step (409).
【0118】ステップ(409)からステップ(42
0)までのフローは、第1の実施例における図5のステ
ップ(307)からステップ(318)までと同じなの
で、ここでは説明を省略する。From step (409) to step (42)
The flow up to 0) is the same as the flow from step (307) to step (318) in FIG. 5 in the first embodiment, so the description thereof is omitted here.
【0119】このように、第2の実施例では、焦点検出
精度も考慮した重み付けを行った加重平均処理を行って
いるので、第1の実施例よりも、不安定になり易い状況
ではより安定した予測制御を行うことができる。As described above, in the second embodiment, since the weighted average processing is performed with weighting taking into account the focus detection accuracy as well, it is more stable in a situation where it is more unstable than in the first embodiment. Predictive control can be performed.
【0120】(第3の実施例)本発明の第3の実施例
は、前回及び今回検出されたデフォーカス量の信頼性が
両方とも高いか、片方だけ高いか、両方とも低いかによ
って加重平均の重み付けを変えるようにしたものであ
る。(Third Embodiment) In the third embodiment of the present invention, the weighted average is determined depending on whether the reliability of the defocus amount detected last time or this time is high, only one is high, or both are low. The weighting of is changed.
【0121】図7は本発明の第3実施例における「予測
演算」サブルーチンを示すフローチャートであり、ステ
ップ(501)からステップ(505)までは第1の実
施例における図5のステップ(301)からステップ
(305)までと同じであるので、ここでは説明を省略
する。また、ステップ(512)からステップ(52
4)までのフローも、図5のステップ(306)からス
テップ(318)までと同様であるので、その説明を省
略する。FIG. 7 is a flow chart showing a "prediction calculation" subroutine in the third embodiment of the present invention. Steps (501) to (505) are the same as steps (301) in FIG. 5 in the first embodiment. Since it is the same as the step (305), the description is omitted here. Also, from step (512) to step (52
The flow up to 4) is also the same as the flow from step (306) to step (318) in FIG.
【0122】ステップ(506)からステップ(51
1)までにおいて、焦点検出状態に応じた重み付けの設
定を行う。From step (506) to step (51
Up to 1), weighting is set according to the focus detection state.
【0123】つまり、ステップ(506)においては、
記憶されている前回のデフォーカス量DF2の焦点検出
時の検出精度の信頼性を評価し、信頼性が高ければステ
ップ(507)へ移行し、そうでなければステップ(5
08)へ移行する。That is, in step (506),
The reliability of detection accuracy at the time of focus detection of the previously stored defocus amount DF2 is evaluated, and if the reliability is high, the process proceeds to step (507), and if not, the step (5
08).
【0124】ステップ(507)においては、今回検出
されたデフォーカス量DF3の検出精度の信頼性を評価
し、信頼性が高ければステップ(509)へ移行し、そ
うでなければステップ(510)へ移行する。In step (507), the reliability of the detection accuracy of the defocus amount DF3 detected this time is evaluated. If the reliability is high, the process proceeds to step (509), and if not, the process proceeds to step (510). Transition.
【0125】ステップ(508)においては、ステップ
(507)と同様の判定を行い、デフォーカス量DF3
の信頼性が高いときステップ(510)へ移行し、そう
でなければステップ(511)へ移行する。In step (508), the same determination as in step (507) is performed, and the defocus amount DF3
If the reliability of is high, the process proceeds to step (510), and if not, the process proceeds to step (511).
【0126】すなわち、前回及び今回検出されたデフォ
ーカス量の信頼性が両方とも高ければステップ(50
9)に移行し、どちらか一方の信頼性だけが高いときに
はステップ(510)に移行し、両方の信頼性が低いと
きにはステップ(511)に移行することになる。That is, if the reliability of the defocus amount detected last time and this time is both high, step (50
If the reliability of either one is high, the process proceeds to step (510), and if the reliability of both is low, the process proceeds to step (511).
【0127】ステップ(509)においては、焦点検出
精度の信頼性が高いので今回得られた像面移動速度の重
み付けを大きくするために「TX=500msec」と
してTXの値を最も小さい値を設定している。At step (509), since the focus detection accuracy is high, the smallest value of TX is set as "TX = 500 msec" in order to increase the weighting of the image plane moving speed obtained this time. ing.
【0128】ステップ(510)においては、焦点検出
精度の信頼性が少し低下しているので、今回得られた像
面移動速度の重み付けを少し下げるために「TX=75
0msec」としてTXの値を少し大きく設定してい
る。In step (510), since the reliability of the focus detection accuracy is slightly lowered, "TX = 75" is set in order to slightly lower the weighting of the image plane moving speed obtained this time.
The value of TX is set a little larger as "0 msec".
【0129】ステップ(511)においては、焦点検出
精度が最も悪いので、今回得られた像面移動速度の重み
付けを更に下げるために「TX=1000msec」と
してTXの値を更に大きく設定している。In step (511), since the focus detection accuracy is the worst, in order to further reduce the weighting of the image plane moving speed obtained this time, the value of TX is set to be larger with "TX = 1000 msec".
【0130】このように、焦点検出精度の信頼性によっ
てTXの設定値を変更し、加重平均の重み付けを制御す
ることにより、信頼性の低いデータを使った不安定な制
御を行う可能性がある場合には、加重平均の重み付けを
変更して安定な予測制御行えるようにし、信頼性の高い
データの場合には、信頼性の高いデータの重み付けを大
きくし、レスポンスの良い予測制御を行なえるように構
成したものである。As described above, by changing the set value of TX and controlling the weighting of the weighted average depending on the reliability of focus detection accuracy, there is a possibility that unstable control using unreliable data is performed. In this case, the weighting of the weighted average is changed so that stable prediction control can be performed, and in the case of highly reliable data, the weighting of highly reliable data can be increased so that predictive control with good response can be performed. It is configured in.
【0131】また、本実施例では、TXの設定値として
「500msec」,「750msec」,「1000
msec」としたが、これはあくまで代表的な値であ
り、これらの値以外の値を使用しても良く、撮影状態に
よってこれらの値を変更しても良い。In this embodiment, the set values of TX are "500 msec", "750 msec", "1000".
However, this is a typical value only, and values other than these values may be used, and these values may be changed depending on the shooting state.
【0132】以上の各実施例によれば、焦点検出精度の
信頼性や焦点検出時間間隔などの像面移動速度の検出精
度に影響を与える項目によって像面移動速度の信頼性を
評価し、その結果に基づいて加重平均の重み付けを変え
るようにしたので、不安定な予測制御を行う可能性が高
いときには安定重視の制御を行うようにし、信頼性の高
いデータが得られれば追従性重視の制御を行えるように
することが容易に達成できる。According to each of the embodiments described above, the reliability of the image plane moving speed is evaluated by the items that affect the reliability of the focus detecting accuracy and the detection accuracy of the image plane moving speed such as the focus detection time interval. Since the weighted average weighting is changed based on the result, control that emphasizes stability is performed when there is a high possibility that unstable predictive control is likely to occur, and control that emphasizes followability when reliable data is obtained. Can be easily achieved.
【0133】なお、焦点検出の信頼性や焦点検出時間間
隔をパラメータとしたが、これ以外のパラメータ、例え
ばレンズ駆動方向の反転のようにレンズ駆動精度の低下
が起り易いとき、或は、焦点検出中やレンズ駆動中のズ
ーミングのように様々な誤差が発生しやすいときには、
安定性重視の加重平均処理を行うように構成しても本発
明が有効なことは明らかである。Although the reliability of focus detection and the focus detection time interval are used as parameters, other parameters, for example, when the deterioration of the lens driving accuracy such as inversion of the lens driving direction is likely to occur, or the focus detection is performed. When various errors are likely to occur, such as zooming during or during lens driving,
It is clear that the present invention is effective even if it is configured to perform the weighted average processing with emphasis on stability.
【0134】[0134]
【発明の効果】以上説明したように、本発明によれば、
焦点検出手段にて過去複数回求められたデフォーカス量
と焦点検出の時間間隔情報に基づいて所定時間後におけ
る被写体の像面位置変化を定められる関数に近似して求
め、所定時間後における被写体の像面位置と撮影レンズ
の像面位置を一致させるべくレンズ駆動手段を制御する
演算手段内に、焦点検出によって得られる像面位置の変
化速度の信頼性を考慮した加重平均によって、近似する
関数を設定する設定手段を設け、像面位置の変化速度の
信頼性を評価する為に、検出された焦点検出を行った時
間間隔、焦点検出精度を使用するようにしている。As described above, according to the present invention,
Based on the defocus amount and the time interval information of focus detection obtained a plurality of times in the past by the focus detection means, the image plane position change of the subject after a predetermined time is obtained by approximating the determined function, and the change of the subject after the predetermined time is performed. In the calculating means for controlling the lens driving means so as to match the image plane position with the image plane position of the photographing lens, a function approximated by a weighted average considering the reliability of the change speed of the image plane position obtained by the focus detection is calculated. Setting means for setting is provided, and in order to evaluate the reliability of the change speed of the image plane position, the time interval at which the detected focus detection is performed and the focus detection accuracy are used.
【0135】よって、被写体の追従補正の安定性及び精
度を向上させることが可能となる。Therefore, it is possible to improve the stability and accuracy of the tracking correction of the subject.
【図1】本発明の第1の実施例におけるカメラの自動焦
点調節装置の概略構成を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of an automatic focus adjustment device for a camera according to a first embodiment of the present invention.
【図2】図1のカメラの全体の動作を示すフローチャー
トである。2 is a flowchart showing the overall operation of the camera of FIG.
【図3】図2の「像信号入力」サブルーチンの詳細を示
すフローチャートである。FIG. 3 is a flowchart showing details of an “image signal input” subroutine of FIG.
【図4】図2の「レンズ駆動」サブルーチンの詳細を示
すフローチャートである。FIG. 4 is a flowchart showing details of a “lens driving” subroutine of FIG.
【図5】図2の「予測演算」サブルーチンの詳細を示す
フローチャートである。5 is a flowchart showing details of a "prediction calculation" subroutine in FIG.
【図6】本発明の第2の実施例における「予測演算」サ
ブルーチンの詳細を示すフローチャートである。FIG. 6 is a flowchart showing details of a “prediction calculation” subroutine in the second embodiment of the present invention.
【図7】本発明の第3の実施例における「予測演算」サ
ブルーチンの詳細を示すフローチャートである。FIG. 7 is a flow chart showing details of a “prediction calculation” subroutine in the third embodiment of the present invention.
【図8】従来の追従予測制御の予測原理について説明す
るための図である。FIG. 8 is a diagram for explaining a prediction principle of conventional follow-up prediction control.
【図9】従来の予測制御における問題点について説明す
るための図である。FIG. 9 is a diagram for explaining problems in conventional predictive control.
【図10】従来の加重平均処理の問題点について説明す
るための図である。FIG. 10 is a diagram for explaining a problem of the conventional weighted average processing.
PRS コンピュータ SNS センサ装置 SDR 駆動回路 LCM レンズ通信バッファ回路 LPRS レンズ内制御回路 LMTR 焦点調節用モータ FLNS レンズ PRS computer SNS sensor device SDR drive circuit LCM lens communication buffer circuit LPRS in-lens control circuit LMTR focus adjustment motor FLNS lens
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04N 5/232 H C ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical display location H04N 5/232 HC
Claims (4)
返し行う焦点検出手段と、デフォーカス量検出動作が行
われる毎に撮影レンズを駆動するレンズ駆動手段と、前
記焦点検出手段にて過去複数回求められたデフォーカス
量と焦点検出の時間間隔情報に基づいて所定時間後にお
ける被写体の像面位置変化を定められる関数に近似して
求め、所定時間後における被写体の像面位置と撮影レン
ズの像面位置を一致させるべく前記レンズ駆動手段を制
御する演算手段とを備えたカメラの自動焦点調節装置に
おいて、前記演算手段内に、焦点検出によって得られる
像面位置の変化速度の信頼性を考慮した加重平均によっ
て、近似する関数を設定する設定手段を設けたことを特
徴とするカメラの自動焦点調節装置。1. A focus detecting means for repeatedly detecting a defocus amount of a photographing lens, a lens driving means for driving a photographing lens each time a defocus amount detecting operation is performed, and a plurality of past determinations by the focus detecting means. Based on the obtained defocus amount and focus detection time interval information, the change in the image plane position of the subject after a predetermined time is obtained by approximating the determined function, and the image plane position of the subject and the image plane of the photographing lens after the predetermined time In an automatic focus adjusting device for a camera, which comprises a calculating means for controlling the lens driving means so as to match the positions , a weighting considering the reliability of a changing speed of an image plane position obtained by focus detection in the calculating means. An automatic focus adjusting device for a camera, characterized by comprising setting means for setting an approximate function by an average.
として、焦点検出の時間間隔によって重み付けした像面
位置の変化速度の加重平均を行う手段であることを特徴
とする請求項1記載のカメラの自動焦点調節装置。2. The setting means is means for performing a weighted average of the changing speeds of the image plane positions weighted by the focus detection time intervals as a weighted average considering reliability. Automatic focus adjustment device for cameras.
として、焦点検出精度によって重み付けした像面位置の
変化速度の加重平均を行う手段であることを特徴とする
請求項1記載のカメラの自動焦点調節装置。3. The camera according to claim 1, wherein the setting means is means for performing a weighted average of the changing speeds of the image plane positions weighted by focus detection accuracy as a weighted average considering reliability. Automatic focus adjustment device.
として、焦点検出の時間間隔と焦点検出精度によって重
み付けした像面位置の変化速度の加重平均を行う手段で
あることを特徴とする請求項1記載のカメラの自動焦点
調節装置。4. The setting means is means for performing a weighted average of the changing speeds of the image plane position weighted by the focus detection time interval and the focus detection accuracy, as a weighted average considering reliability. Item 1. The automatic focus adjustment device for a camera according to item 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4266787A JPH0694985A (en) | 1992-09-10 | 1992-09-10 | Camera autofocus device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4266787A JPH0694985A (en) | 1992-09-10 | 1992-09-10 | Camera autofocus device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0694985A true JPH0694985A (en) | 1994-04-08 |
Family
ID=17435689
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4266787A Pending JPH0694985A (en) | 1992-09-10 | 1992-09-10 | Camera autofocus device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0694985A (en) |
-
1992
- 1992-09-10 JP JP4266787A patent/JPH0694985A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5012267A (en) | Focus adjusting apparatus | |
| US5061951A (en) | Auto focus device | |
| US4974002A (en) | Automatic focus adjusting device | |
| US4972221A (en) | Camera having an automatic focus adjusting apparatus | |
| JPH01285907A (en) | automatic focus adjustment device for camera | |
| US5061953A (en) | Focus adjusting apparatus for use in a camera or the like | |
| GB2200010A (en) | Focus detection | |
| US5005037A (en) | Auto focus adjusting device | |
| US5089843A (en) | Auto focus device with predictive focussing | |
| US5081479A (en) | Automatic focusing device | |
| JPH01280713A (en) | Automatic focus adjustor | |
| JP2762513B2 (en) | Automatic focusing device | |
| JP2974637B2 (en) | Automatic focusing device | |
| JPH0694985A (en) | Camera autofocus device | |
| JP2832006B2 (en) | Automatic focusing device | |
| JPS63172231A (en) | automatic focus adjustment device | |
| JP3486464B2 (en) | Automatic focusing device | |
| JPH0541968B2 (en) | ||
| JPH03229209A (en) | Automatic focus adjusting device | |
| JP2941891B2 (en) | Automatic focusing device | |
| JPH02208642A (en) | automatic focus adjustment device | |
| JPH0829671A (en) | Automatic focusing device and camera | |
| JPH0876009A (en) | Automatic focusing device and camera | |
| JPH08122863A (en) | Camera and communication device | |
| JPH02181739A (en) | automatic focus adjustment device |