JPH02176735A - focus adjustment device - Google Patents
focus adjustment deviceInfo
- Publication number
- JPH02176735A JPH02176735A JP33263588A JP33263588A JPH02176735A JP H02176735 A JPH02176735 A JP H02176735A JP 33263588 A JP33263588 A JP 33263588A JP 33263588 A JP33263588 A JP 33263588A JP H02176735 A JPH02176735 A JP H02176735A
- Authority
- JP
- Japan
- Prior art keywords
- lens
- focus adjustment
- focus
- time
- function
- 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.)
- Granted
Links
Landscapes
- Automatic Focus Adjustment (AREA)
- Focusing (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はカメラ等に用いられる自動焦点調節装置に関す
るものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic focus adjustment device used in cameras and the like.
従来、−眼レフ・カメラの自動焦点調節方式の多くは「
焦点検出(センサ信号入力、焦点検出演算)、レンズ駆
動」のサイクルを繰り返し行うことによって、被写体に
ピントを合わせようとするものである。各サイクルにお
けるレンズ駆動量はそのサイクルで焦点検出を行った時
点でのデフォーカス量に基づいており、これはレンズ駆
動終了時に焦点検出時のデフォーカス量が解消されるこ
とを期待している。Conventionally, most automatic focusing systems for eye reflex cameras were
By repeating the cycle of focus detection (sensor signal input, focus detection calculation), and lens drive, it is possible to bring the subject into focus. The amount of lens drive in each cycle is based on the amount of defocus at the time point when focus detection is performed in that cycle, and this is expected to eliminate the amount of defocus at the time of focus detection when lens drive is completed.
当然のことながら、焦点検出、レンズ駆動にはそれ相当
の時間を必要とするわけであるが、静止した被写体の場
合には、レンズを駆動しない限りデフォーカス量の変化
がないので、レンズ駆動が終了した時点に解消すべきデ
フォーカス量は、焦点検出時点でのデフォーカス量に等
しく、正しい焦点調節が行われる。Naturally, focus detection and lens drive require a considerable amount of time, but in the case of a stationary subject, the amount of defocus will not change unless the lens is driven, so lens drive is The amount of defocus to be canceled at the time of completion is equal to the amount of defocus at the time of focus detection, and correct focus adjustment is performed.
ところが、動きの大きな被写体の場合には、焦点検出、
レンズ駆動中にデフォーカス量が変化し、前記解消すべ
きデフォーカス量と検出デフォーカス量が著しく異なる
ことがあり、結果として、レンズ駆動終了時に被写体に
ピントが合っていないという問題になる。However, in the case of subjects with large movements, focus detection,
The amount of defocus changes during lens driving, and the defocus amount to be eliminated and the detected defocus amount may be significantly different, resulting in a problem that the subject is out of focus when the lens driving ends.
上記問題点の解決を目的とした自動焦点調節方法として
、本出願人は特願昭62−263728号を提案してい
る。As an automatic focusing method aimed at solving the above problems, the present applicant has proposed Japanese Patent Application No. 62-263728.
同提案によって開示されている方法の要旨は、上記各サ
イクルにおける検出デフォーカス量、レンズ駆動量と各
サイクルの時間間隔を鑑みて、被写体の移動に起因する
像面位置と時間の関係を1次関数および2次関数に近似
し、レンズ駆動量に補正をかけようとするものであり、
上記問題の改善が期待される。The gist of the method disclosed in the proposal is that the relationship between the image plane position and time caused by the movement of the subject is determined in the first order by considering the detected defocus amount in each cycle, the lens drive amount, and the time interval of each cycle. It approximates functions and quadratic functions and attempts to correct the lens drive amount.
It is expected that the above problems will be improved.
しかしながら、このような予測方法の場合、レンズ駆動
量ならびに焦点検出誤差によって、予測したレンズ位置
と実際の像面位置に差(予測誤差)が生じる。この予測
誤差は、上記焦点検出誤差、レンズ駆動誤差の数倍〜士
数倍の大きさに拡大される。このため従来の自動焦点調
節装置では像面深度内に被写体が入り、ピントが合って
いると判断できる場合にも、前記予測方法を用いると、
ピント位置が像面深度外に出てしまい、ピンボケ写真に
なってしまう可能性があった。このような問題点の解決
を目的とした自動焦点調節方法として、本出願人は特願
昭63−25490号を提案している。However, in such a prediction method, a difference (prediction error) occurs between the predicted lens position and the actual image plane position due to the lens drive amount and focus detection error. This prediction error is magnified to several times to several times as large as the focus detection error and lens drive error. For this reason, even if the subject is within the depth of field and can be determined to be in focus using the conventional automatic focus adjustment device, if the above prediction method is used,
There was a possibility that the focus position would be outside the depth of field, resulting in an out-of-focus photo. The present applicant has proposed Japanese Patent Application No. 63-25490 as an automatic focusing method aimed at solving these problems.
同提案によって開示されている方法の要旨は、予測演算
に用いる数次の予測関数のうち、焦点検出誤差やレンズ
駆動誤差の影響を受けやすく、予測誤差の発生量が大き
い高次の項を補正することによって、レンズ駆動系や焦
点検出系で発生する誤差の影響を減少させ、予測精度を
向上させようとしたものである。The gist of the method disclosed in this proposal is to correct high-order terms that are susceptible to focus detection errors and lens drive errors and generate a large amount of prediction errors among several-order prediction functions used for prediction calculations. This is an attempt to reduce the influence of errors occurring in the lens drive system and focus detection system and improve prediction accuracy.
〔発明が解決しようとしている問題点〕本発明は上記予
測方法による焦点調節に対する更なる改良に関し、予測
関数の高次の項を補正することによって発生するピント
ズレを解消するものである。[Problems to be Solved by the Invention] The present invention relates to further improvements to the focus adjustment by the above-mentioned prediction method, and is intended to eliminate out-of-focus caused by correcting higher-order terms of the prediction function.
以下、上記補正によって発生するピントズレについて説
明する。The out-of-focus caused by the above correction will be explained below.
第2図は上述のレンズ駆動補正方法を説明するための図
である。図中の横軸は時刻t、縦軸は被写体の像面位置
Xを表わしている。FIG. 2 is a diagram for explaining the above-mentioned lens drive correction method. The horizontal axis in the figure represents time t, and the vertical axis represents the image plane position X of the subject.
実線で表わした曲線x(t)は撮影レンズが無限遠にあ
るときに、カメラに対して光軸方向に接近してくる被写
体の時刻tにおける像面位置を意味している。破線で表
わした2(1)は時刻tにおける撮影レンズ位置を意味
しており、x(t)と2(1)が一致したときに合焦と
なる。そして[t+、 t+’ ]が焦点検出動作時
間、[t +’ 、 t +++ ]がレンズ駆動動
作時間を示すものである。また、同図に示した例では、
像面位置が2次関数(at2+bt+c)に従って変化
するという仮定をおいている。即ち、時刻t3において
現在および過去3回の像面位置(t1+X1)(t2
+ X2 ) (t3 r X3 )がわかれば、時刻
t3よりTL (AFタイムラグ+レリーズタイムラグ
)後の時刻t4での像面位置X4が予測できるものであ
る(AFタイムラグ:焦点検出及びレンズ駆動に要する
時間、レリーズタイムラグ:レリーズ指令がだされてか
ら、露光が開始されるまでの時間。The curve x(t) represented by a solid line indicates the image plane position at time t of a subject approaching the camera in the optical axis direction when the photographing lens is at infinity. 2(1) represented by a broken line means the photographing lens position at time t, and when x(t) and 2(1) match, the image is in focus. [t+, t+'] indicates the focus detection operation time, and [t+', t+++] indicates the lens drive operation time. In addition, in the example shown in the same figure,
It is assumed that the image plane position changes according to a quadratic function (at2+bt+c). That is, at time t3, the current and past three image plane positions (t1+X1)(t2
+ X2 ) (t3 r Time, release time lag: The time from when the release command is issued until the start of exposure.
ところが実際にカメラが検知し得るのは、像面位置X1
.X2.X3ではなく、デフォーカス量DF1゜DF2
.DF3ならびに、像面移動量換算のレンズ駆動量DL
、、DL2である。そして、時刻t4はあくまで将来の
値であり、実際には、被写体輝度による蓄積型のセンサ
の蓄積時間の変化やレンズの駆動量の変化によるレンズ
駆動時間の変化に従って変化する値であるが、ここでは
簡単のため、次のように仮定する。However, what the camera can actually detect is the image plane position
.. X2. Defocus amount DF1゜DF2 instead of X3
.. DF3 and lens drive amount DL in terms of image plane movement amount
,,DL2. The time t4 is only a future value, and in reality, it is a value that changes according to changes in the storage time of the storage type sensor due to subject brightness and changes in lens drive time due to changes in lens drive amount. For simplicity, let us assume the following.
t 4 t 3 = TL = TM 2 + (
レリーズタイムラグ) (1)以上の仮定の下に、時
間t3での焦点検出結果から算出されたレンズ駆動量D
L3は以下のように求まる。t 4 t 3 = TL = TM 2 + (
Release time lag) (1) Based on the above assumptions, the lens drive amount D calculated from the focus detection result at time t3
L3 is found as follows.
x(t)=at2+bt+c 、
(2)そして、図中の(1+、2+)を原点と考える
と、t1=OXi :DF、 (3)t
2=TM、 x2=DF2+DL1
(4)t3=TM、+TM2 x3=DF3+DL1+
DL2 (5)(2)式に(3)、 (4)、
(5)式を代入してa。x(t)=at2+bt+c,
(2) Then, considering (1+, 2+) in the figure as the origin, t1=OXi :DF, (3) t
2=TM, x2=DF2+DL1
(4) t3=TM, +TM2 x3=DF3+DL1+
DL2 (5) In equation (2), (3), (4),
(5) Substituting equation a.
b、 cを求めると、
c=DF、
(8)よって時刻t4における像面移動量換算の
レンズ駆動量DL3は、
DL3=x4−1!3
=X4−X3+DF3
= a ((TM 、 +TM 2+TL)2−(TM
、 +TM 2)’]十b−TL+DF3
(9)
のように求まる。When calculating b and c, c=DF,
(8) Therefore, the lens drive amount DL3 converted to the image plane movement amount at time t4 is: DL3=x4-1!3 =X4-X3+DF3=a ((TM, +TM2+TL)2-(TM
, +TM 2)'] 10b-TL+DF3
(9) It can be found as follows.
次に焦点検出誤差やレンズ駆動誤差によって発生する予
測誤差を低減させるための2次の項の補正方法について
第3図を使って説明する。Next, a method of correcting the quadratic term for reducing prediction errors caused by focus detection errors and lens drive errors will be explained with reference to FIG.
第3図は像面位置と時間の関係を示したものである。FIG. 3 shows the relationship between the image plane position and time.
この図で実線は実際に被写体の移動によって移動してい
る像面位置と仮定し、tl及びt2でそれぞれ、δ1.
δ2の誤差が生じた場合、予測関数は一点鎖線のように
なり、予測エラーδ8はδ1゜δ2の約11倍の大きさ
となっている。In this figure, the solid line is assumed to be the image plane position that is actually moving due to the movement of the subject, and δ1.
When an error of δ2 occurs, the prediction function becomes like a dashed line, and the prediction error δ8 is about 11 times larger than δ1°δ2.
そこで、(9)式の像面移動量換算のレンズ駆動量DL
3を計算する際に2次の項を補正系数TFによって次式
のように補正を行う。Therefore, the lens drive amount DL in terms of the image plane movement amount in equation (9)
3, the second-order term is corrected using the correction coefficient TF as shown in the following equation.
DL3 =TF−a((TM1+TM2+TL)2−(
TM、 +TM2)”]+b−TL+DF 3(I O
)
(ただしO<TF≦1である)
第3図の場合、補正系数TF=0.6とすると、予測関
数は破線のようになり、予測エラーδ8′ は未補正の
予測エラーδ8の約1/8に減少することとなる。DL3 = TF-a((TM1+TM2+TL)2-(
TM, +TM2)"]+b-TL+DF 3(IO
) (However, O<TF≦1) In the case of Figure 3, if the correction coefficient TF=0.6, the prediction function becomes as shown by the broken line, and the prediction error δ8' is approximately 1 of the uncorrected prediction error δ8. This results in a decrease of /8.
このような補正による対策は非線形な関数を線形な関数
に近づける効果があるため、焦点検出動作時間間隔が小
さ(、像面の移動を線形な関数に近似できる場合には、
特に効果が大きい。This type of correction has the effect of bringing a nonlinear function closer to a linear function, so the focus detection operation time interval is small (if the movement of the image plane can be approximated to a linear function,
Especially effective.
しかしながら、像面の移動を線形な関数に近似できない
場合には、補正によるピントズレが発生する。However, if the movement of the image plane cannot be approximated to a linear function, out-of-focus occurs due to correction.
上記補正によるピントズレの発生を第4図、第5図を使
って説明する。The occurrence of out-of-focus caused by the above correction will be explained using FIGS. 4 and 5.
第4図は縦軸は像面位置、横軸は時刻であり、被写体が
カメラに対して近づいて(る場合の一般的な像面位置の
変化を示したものである。この図の実線は実際に移動す
る像面の位置であり、これを2次関数に近似すると次式
のようになる。In Figure 4, the vertical axis is the image plane position, and the horizontal axis is time, and shows the general change in the image plane position when the subject approaches the camera.The solid line in this figure is This is the position of the image plane that actually moves, and if it is approximated by a quadratic function, the following equation is obtained.
x (t) =at2+bt+c (
11)これに対して、補正係数TFで補正を行った関数
は次式のようになる。x (t) = at2 + bt + c (
11) On the other hand, the function corrected by the correction coefficient TF is as shown in the following equation.
X(t)=TF−a−t2+b−t+c (12)
(ago、boo、O<TF<1)
ここで、F+ t2は過去に測距(焦点検出)を行った
時刻であり、t3は現在の時刻、そしてt4は予測目標
となる時刻である。よって、次回レンズ駆動を行う目標
はX4である。X(t)=TF-a-t2+b-t+c (12)
(ago, boo, O<TF<1) Here, F+ t2 is the time when distance measurement (focus detection) was performed in the past, t3 is the current time, and t4 is the time when the predicted target is achieved. Therefore, the target for lens driving next time is X4.
しかしながら、(12)式のような補正を行うと時刻t
4での予測した像面位置はX4 となり、実際の値X
4に対してδ8という予測誤差(ピントズレ)が発生す
る。これは、予測関数の非線形成分が大きいほど大きく
、また、補正係数が小さいほど大きくなる。However, if a correction like equation (12) is made, time t
4, the predicted image plane position is X4, and the actual value X
4, a prediction error (out of focus) of δ8 occurs. This becomes larger as the nonlinear component of the prediction function becomes larger, and becomes larger as the correction coefficient becomes smaller.
ここで、近づいてくる被写体の場合、一般的に(11)
、 (12)式の係数a、 bはa>O,booであ
り、一定速度で近づいてくる場合には、遠(の被写体よ
り近くの被写体の方が非線形成分(ここでは2次の成分
)が太き(像面の移動速度も大きい。Here, in the case of an approaching subject, generally (11)
, the coefficients a and b in equation (12) are a>O,boo, and when approaching at a constant speed, a near object has a nonlinear component (in this case, a quadratic component) than a distant object. is thick (the moving speed of the image plane is also large).
すなわち、遠くの被写体では予測関数の補正による予測
誤差δ8は十分小さいが、近くの被写体ではこの誤差が
問題となることがある。そして、そのときのピントズレ
は一般的な条件(a>O)であれば常に追従遅れ、すな
わち、後ピン状態となる。That is, for a distant subject, the prediction error δ8 due to the correction of the prediction function is sufficiently small, but for a nearby subject, this error may become a problem. If the focus deviation at that time is under the general condition (a>O), there will always be a tracking delay, that is, a back-focus state.
次に、第5図の縦軸は像面位置、横軸は時刻であり、被
写体がカメラに対して遠ざかる場合の一般的な像面の移
動を示したものである。この図の実線は実際に移動する
像面の位置であり、これを2次関数に近似すると次式の
ようになる。Next, the vertical axis in FIG. 5 is the image plane position, and the horizontal axis is the time, which shows the general movement of the image plane when the subject moves away from the camera. The solid line in this figure is the position of the image plane that actually moves, and if this is approximated to a quadratic function, the following equation is obtained.
x (t) =at”+bt+c (1
3)(a>o、b<o)
これに対して、補正係数TFによって補正を行った予測
関数は次式のようになる。x (t)=at”+bt+c (1
3) (a>o, b<o) On the other hand, the prediction function corrected by the correction coefficient TF is as shown in the following equation.
x (t) =TF−at”+bt+c (
14)(a>0.b<o、O<TF<1)
ここで、1..12は過去に測距を行った時刻であり、
t3は現在の時刻、t4は予測目標となる時刻である。x (t) = TF−at”+bt+c (
14) (a>0.b<o, O<TF<1) Here, 1. .. 12 is the time when distance measurement was performed in the past,
t3 is the current time, and t4 is the prediction target time.
よって、次回のレンズ駆動を行う目標はx4である。Therefore, the target for the next lens drive is x4.
しかしながら、(14)式のような補正を行うと時刻t
4での像面位置をX4 と予測してしまい、δ8という
予測誤差が発生する。However, if a correction like equation (14) is made, time t
4, the image plane position is predicted to be X4, and a prediction error of δ8 occurs.
ここで、遠ざかる被写体の場合、(13)、 (14
)式の係数a、 bは一般にago、b<Oであり、一
定速度で遠ざかる被写体の場合には、遠くの被写体より
近くの被写体の方が非線形成分(ここでは2次の成分)
が大きく、像面の移動速度も大きい。すなわち、遠くの
被写体では予測関数の非線形成分の補正による予測誤差
は十分に小さいが、非線形成分の大きい近くの被写体で
はこの誤差が問題となることがある。そして、この予測
誤差は一般的条件(a>O)であれば、常にレンズが先
行気味、すなわち、後ピン状態となる。Here, in the case of a subject moving away, (13), (14
) coefficients a and b are generally ago, b < O, and in the case of a subject moving away at a constant speed, the nonlinear component (here, the quadratic component) is greater for a nearby subject than for a distant subject.
is large, and the moving speed of the image plane is also large. That is, for a distant object, the prediction error due to correction of the nonlinear component of the prediction function is sufficiently small, but for a nearby object with a large nonlinear component, this error may become a problem. If this prediction error is under the general condition (a>O), the lens always tends to be in the lead, that is, in the rear focus state.
このように、予測関数の高次の項を補正すると、像面位
置の非線形な変化に対する追従性能が低下し、常に後ピ
ン状態となる問題点があった。In this way, when the high-order terms of the prediction function are corrected, the tracking performance for nonlinear changes in the image plane position deteriorates, resulting in a problem that the camera is always in a back-focus state.
本発明は上述の事項に鑑みなされたもので、焦点検出誤
差、レンズ駆動誤差が小さくなる条件下では予測関数の
高次の項の補正をゆるめる、あるいは補正を無くすこと
により予測関数の補正によって発生する上述の予測誤差
を低減させるものである。The present invention has been made in view of the above-mentioned matters, and under conditions where focus detection errors and lens drive errors become small, the correction of higher-order terms of the prediction function is loosened or eliminated, so that errors caused by the correction of the prediction function are reduced. This is to reduce the above-mentioned prediction error.
第6図は本発明に関わる自動焦点装置を備えたカメラの
実施例を示す回路図である。FIG. 6 is a circuit diagram showing an embodiment of a camera equipped with an automatic focusing device according to the present invention.
図においてPH1はカメラの制御装置で、例えば内部に
CPU(中央処理装置)、ROM、RAM、A/D変換
機能を有する1チツプ・マイクロコンピュータである。In the figure, PH1 is a camera control device, which is, for example, a one-chip microcomputer internally having a CPU (central processing unit), ROM, RAM, and A/D conversion function.
コンピュータPR3はROMに格納されたカメラのシー
ケンス・プログラムに従って、自動露出制御機能、自動
焦点検出機能、フィルムの巻き上′げ等のカメラの一連
の動作を行う。そのために、コンピュータPR8は同期
式通信用信号5O1SI、5CLK、通信選択信号CL
CM、C3DR,CDDRを用いて、カメラ本体内の周
辺回路およびレンズと通信して、各々の回路やレンズの
動作を制御する。The computer PR3 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 the ROM. For this purpose, the computer PR8 uses the synchronous communication signals 5O1SI, 5CLK, and the communication selection signal CL.
The CM, C3DR, and CDDR are used to communicate with peripheral circuits and lenses within the camera body to control the operations of each circuit and lens.
SOはコンピュータPR8から出力されるデータ信号、
SIはコンピュータPRSへ入力されるデータ信号、5
CLKは信号So、 SIの同期クロックである。SO is a data signal output from computer PR8,
SI is a data signal input to the computer PRS, 5
CLK is a synchronization clock for signals So and SI.
LCMはレンズ通信バッファ回路であり、カメラが動作
中のときにはレンズ用電源端子に電力を供給すると共に
、コンピュータPR8からの選択信号CLCMが高電位
レベル(以下“H′と略記する)のときにはカメラとレ
ンズ間通信バッファとなる。LCM is a lens communication buffer circuit that supplies power to the lens power supply terminal when the camera is in operation, and when the selection signal CLCM from the computer PR8 is at a high potential level (hereinafter abbreviated as "H'), it supplies power to the lens communication buffer circuit. Serves as an inter-lens communication buffer.
コンピュータPR8がCLCMをH′にして、5CLK
に同期して所定のデータをSOから送出すると、LCM
はカメラ・レンズ間接点を介して、5CLK、Soの各
々のバッファ信号LCK、DCLをレンズへ出力する。Computer PR8 sets CLCM to H' and 5CLK
When predetermined data is sent from SO in synchronization with LCM
outputs buffered signals LCK and DCL of 5CLK and So to the lens via the camera-lens interface.
それと同時にレンズからの信号DLCのバツファ信号を
SIに出力し、PH1は5CLKに同期してSIからレ
ンズのデータを入力する。At the same time, a buffer signal of the signal DLC from the lens is output to SI, and PH1 inputs lens data from SI in synchronization with 5CLK.
SDRはCOD等から構成される焦点検出用のラインセ
ンサ装置SNSの駆動回路であり、信号CS D R。SDR is a drive circuit for a line sensor device SNS for focus detection, which is composed of a COD or the like, and a signal CSDR.
が′H′のとき選択されて、So、SI、5CLKを用
いてPH1から制御される。is selected when is 'H' and is controlled from PH1 using So, SI, and 5CLK.
信号CKはCOD駆動用クロりクφl、φ2を生成する
ためのクロックであり、信号INTENDは蓄積動作が
終了したことをPH1へ知らせる信号である。The signal CK is a clock for generating COD driving clocks φl and φ2, and the signal INTEND is a signal that notifies PH1 that the accumulation operation has ended.
SNSの出力信号O8はクロックφl、φ2に同期した
時系列の像信号であり、SDR内の増幅回路で増幅され
た後、AO3としてPH1に出力される。The output signal O8 of the SNS is a time-series image signal synchronized with the clocks φl and φ2, and after being amplified by the amplifier circuit in the SDR, it is outputted to the PH1 as AO3.
PH1はAO5をアナログ入力端子から入力し、CKに
同期して、内部のA/D変換機能でA/D変換後、RA
Mの所定のアドレスに順次格納する。PH1 inputs AO5 from the analog input terminal, synchronizes with CK, performs A/D conversion using the internal A/D conversion function, and then outputs RA
Sequentially stored in M predetermined addresses.
同じ< SNSの出力信号である5AGCは、SNS内
のAGC(自動利得制御: Auto Ga1n Co
ntrol)用センサの出力であり、SDRに入力され
て、SNSの蓄積制御に用いられる。Same < 5AGC, which is the output signal of SNS, is the AGC (automatic gain control: Auto Ga1n Co
This is the output of the SNS sensor, which is input to the SDR and used for SNS storage control.
SPCは撮影レンズを介した被写体からの光を受光する
露出制御用の測光センサであり、その出力5SPCはP
H1のアナログ入力端子に入力され、A/D変換後、所
定のプログラムに従って自動露出制御(AE)に用いら
れる。SPC is a photometric sensor for exposure control that receives light from the subject through the photographic lens, and its output 5SPC is P
The signal is input to the analog input terminal of H1, and after A/D conversion is used for automatic exposure control (AE) according to a predetermined program.
DDRはスイッチ検知および表示用回路であり、信号C
DDRが′H′のとき選択されて、So、 SI。DDR is a switch detection and display circuit, and the signal C
Selected when DDR is 'H', So, SI.
5CLKを用いてPH1から制御される。即ち、PH1
から送られてくるデータに基づいてカメラの表示部材D
SPの表示を切り替えたり、カメラの各種操作部材に連
動するスイッチSWSのオン・オフ状態を通信によって
PH1へ報知する。Controlled from PH1 using 5CLK. That is, PH1
Display member D of the camera based on the data sent from
The display of the SP is switched and the on/off state of the switch SWS linked to various operating members of the camera is notified to the PH1 by communication.
スイッチSWI、SW2は不図示のレリーズボタンに連
動したスイッチで、レリーズボタンの第1段階の押下に
よりSWIがオンし、引き続いて第2段階までの押下で
SW2がオンする。コンピュータPR8は後述するよう
に、SW1オンで測光、自動焦点調節動作を行い、SW
2オンをトリガとして露出制御とフィルムの巻き上げを
行う。尚、SW2はマイクロコンピュータPR5の「割
込み入力端子」に接続され、SW1オン時のプログラム
実行中でもSW2オンによって割込みがかかり、直ちに
所定の割込みプログラムへ移行することが出来る。The switches SWI and SW2 are switches linked to a release button (not shown), and when the release button is pressed to the first stage, SWI is turned on, and when the release button is pressed to the second stage, SW2 is turned on. As will be described later, the computer PR8 performs photometry and automatic focus adjustment operations when SW1 is turned on, and
Exposure control and film winding are performed using 2-on as a trigger. Note that SW2 is connected to the "interrupt input terminal" of the microcomputer PR5, and even if a program is being executed when SW1 is on, an interrupt is generated by turning on SW2, and the program can immediately proceed to a predetermined interrupt program.
MTRl、はフィルム給送用、MTR2はミラーアップ
・ダウンおよびシャッタばねチャージ用のモータであり
、各々の駆動回路MDRI、MDR2により正転・逆転
の制御が行われる。PH1からMDRI。MTRl is a motor for film feeding, MTR2 is a motor for mirror up/down and shutter spring charging, and forward and reverse rotation are controlled by respective drive circuits MDRI and MDR2. PH1 to MDRI.
MDR2に入力されている信号MIF、MIR,M2F
。Signals MIF, MIR, M2F input to MDR2
.
M2Rはモータ制御用の信号である。M2R is a signal for motor control.
MCI、MG2は各々シャッタ先幕・後幕走行開始用マ
グネットで、信号SMGI、5MG2、増幅トランジス
タTRI、TR2で通電され、PH1によりシャッタ制
御が行われる。MCI and MG2 are magnets for starting the movement of the front and rear shutter curtains, respectively, and are energized by signals SMGI, 5MG2, and amplification transistors TRI and TR2, and shutter control is performed by PH1.
尚、スイッチ検知および表示用回路DDR,モータ駆動
回路MDRI、MDR2、シャッタ制御は、本発明と直
接間わりがないので、詳しい説明は省略する。Note that the switch detection and display circuit DDR, motor drive circuits MDRI and MDR2, and shutter control are not directly related to the present invention, so detailed explanations thereof will be omitted.
レンズ内制御回路LPR3にLCKに同期して入力され
る信号DCLは、カメラからレンズFLNSに対する命
令のデータであり、命令に対するレンズの動作が予め決
められている。The signal DCL input to the in-lens control circuit LPR3 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 determined in advance.
LPR3は、所定の手続きに従ってその命令を解析し、
焦点調節や絞り制御の動作や、出力DLCからのレンズ
の各種パラメータ(開放Fナンバー焦点距離、デフォー
カス量対繰り出し量の係数等)の出力を行う。LPR3 analyzes the instruction according to a predetermined procedure,
It performs focus adjustment and aperture control operations, and outputs various lens parameters (open F-number focal length, defocus amount vs. extension amount coefficient, etc.) from the output DLC.
実施例では、ズームレンズの例を示しており、カメラか
ら焦点調節の命令が送られた場合には、同時に送られて
くる駆動量・方向に従って、焦点調節用モータLMTR
を信号LMF、LMRによって駆動して、光学系を光軸
方向移動させて焦点調節を行う。光学系の移動量はエン
コーダ回路ENCFのパルス信号5ENCFでモニター
して、LPR3内のカウンタで計数しており、所定の移
動が完了した時点で、LPR3自身が信号LMF、LM
Rを′L。In the embodiment, an example of a zoom lens is shown, and when a focus adjustment command is sent from a camera, the focus adjustment motor LMTR is activated according to the driving amount and direction sent at the same time.
is driven by signals LMF and LMR to move the optical system in the optical axis direction and perform focus adjustment. The amount of movement of the optical system is monitored by the pulse signal 5ENCF of the encoder circuit ENCF and counted by a counter in the LPR3, and when the predetermined movement is completed, the LPR3 itself outputs the signals LMF and LM.
'L' for R.
にしてモータLMTRを制動する。to brake motor LMTR.
このため、−旦カメラから焦点調節の命令が送られた後
は、カメラ内の制御装置PR5はレンズの駆動が終了す
るまで、レンズ駆動に関して全く関与する必要がない。Therefore, once the focus adjustment command is sent from the camera, the control device PR5 in the camera does not need to be involved in lens driving at all until the lens driving is completed.
又、カメラから絞り制御の命令が送られた場合には、同
時に送られてくる絞り段数に従って、絞り駆動用として
は公知のステッピング・モータDMTRを駆動する。When an aperture control command is sent from the camera, a stepping motor DMTR, which is known for driving an aperture, is driven in accordance with the number of aperture stages sent at the same time.
ENCZはズーム光学系に付随したエンコーダ回路であ
り、LPR5はENCZかラノ信号5ENCZを入力し
てズーム位置を検出する。LPR3内には各ズーム位置
におけるレンズパラメータが格納されており、カメラ側
のPF3から要求があった場合には、現在のズーム位置
に対応したパラメータをカメラへ送出する。ENCZ is an encoder circuit attached to the zoom optical system, and LPR5 receives ENCZ or a rano signal 5ENCZ to detect the zoom position. Lens parameters at each zoom position are stored in the LPR 3, and when there is a request from the PF 3 on the camera side, the parameters corresponding to the current zoom position are sent to the camera.
上記構成によるカメラの動作について第7図以下のフロ
ーチャートに従って説明する。The operation of the camera with the above configuration will be explained according to the flowcharts shown in FIG. 7 and subsequent figures.
不図示の電源スィッチがオンとなると、マイクロコンピ
ュータPR3への給電が開始され、PF3はROMに格
納されたシーケンスプログラムの実行を開始する。When a power switch (not shown) is turned on, power supply to the microcomputer PR3 is started, and PF3 starts executing the sequence program stored in the ROM.
第7図は上記プログラムの全体の流れを表わすフローチ
ャートである。上記操作にてプログラムの実行が開始さ
れると、ステップ(001)を経て、ステップ(002
)においてレリーズボタンの第1段階押下によりオンと
なるスイッチSWIの状態検知がなされ、SWIオフの
ときにはステップ(003)へ移行して、PR8内のR
AMに設定されている制御用のフラグ、変数を総てクリ
アし、初期化する。FIG. 7 is a flowchart showing the overall flow of the above program. When the program execution starts with the above operation, it passes through step (001) and then step (002).
), the state of the switch SWI, which is turned on by pressing the first step of the release button, is detected, and when the SWI is off, the process moves to step (003) and the R in PR8 is detected.
Clear and initialize all control flags and variables set in AM.
上記ステップ(002)、(003)はスイッチSW1
がオンとなるか、あるいは電源スィッチがオフとなるま
でくり返し実行される。SWlがオンすることによりス
テップ(002)からステップ(005)へ移行する。The above steps (002) and (003) are the switch SW1
It will run repeatedly until it is turned on or the power switch is turned off. When SWl is turned on, the process moves from step (002) to step (005).
ステップ(005)では露出制御のための「測光」サブ
ルーチンを実行する。PF3は第4図に示した測光用セ
ンサSPCの出力5SPCをアナログ入力端子に入力し
、A/D変換を行って、そのディジタル測光値から最適
なシャッタ制御値、絞り制御値を演算して、それぞれを
RAMの所定アドレスへ格納する。そして、レリーズ動
作時にはこれら値に基づいてシャッタおよび絞りの制御
を行う。In step (005), a "photometering" subroutine for exposure control is executed. PF3 inputs the output 5SPC of the photometry sensor SPC shown in Fig. 4 to the analog input terminal, performs A/D conversion, calculates the optimal shutter control value and aperture control value from the digital photometry value, Each is stored at a predetermined address in RAM. During the release operation, the shutter and aperture are controlled based on these values.
続いてステップ(006)で「像信号入力」サブルーチ
ンを実行する。このサブルーチンのフローは第8図に示
しているが、PF3は焦点検出用センサ装置SNSから
像信号の入力を行う。詳細は後述する。Subsequently, in step (006), an "image signal input" subroutine is executed. The flow of this subroutine is shown in FIG. 8, and the PF3 inputs an image signal from the focus detection sensor device SNS. Details will be described later.
次のステップ(007)で、入力した像信号に基づいて
撮影レンズのデフォーカス量DEFを演算する。具体的
な演算方法は本出願人によって特願昭61−16082
4号公報等に開示されているので詳細な説明は省略する
。In the next step (007), the defocus amount DEF of the photographing lens is calculated based on the input image signal. The specific calculation method is disclosed in Japanese Patent Application No. 61-16082 by the applicant.
Since it is disclosed in Publication No. 4 etc., detailed explanation will be omitted.
ステップ(OOS)では「コントラスト判定」サブルー
チンを実行する。「コントラスト判定」サブルーチンは
焦点検出演算に用いた像信号のコントラストを評価する
ものであり、そのフローを第10図に示している。In step (OOS), a "contrast determination" subroutine is executed. The "contrast determination" subroutine evaluates the contrast of the image signal used in the focus detection calculation, and its flow is shown in FIG.
続いて、ステップ(009)では「レンズ駆動方向判定
」サブルーチンを実行する。このサブルーチンは、レン
ズの駆動方向の反転、非反転を判定するものであり、そ
のフローを第11図に示す。Subsequently, in step (009), a "lens driving direction determination" subroutine is executed. This subroutine determines whether the driving direction of the lens is reversed or not, and its flow is shown in FIG. 11.
ステップ(010)では「予測演算」サブルーチンを実
行する。「予測演算」サブルーチンはレンズ駆動量の補
正を行うものであり、そのフローを第1図に示している
。In step (010), a "prediction calculation" subroutine is executed. The "prediction calculation" subroutine is for correcting the lens drive amount, and its flow is shown in FIG.
続いて、ステップ(011)では「レンズ駆動」サブル
ーチンを実行し、先のステップ(010)で補正された
レンズ駆動量DLに基づいてレンズ駆動を行う。この「
レンズ駆動」サブルーチンは第9図にそのフローを示し
ている。レンズ駆動終了後は再びステップ(002)へ
移行して、SWlがオフするか不図示のスイッチSW2
がオンするまで、ステップ(005)〜(011)がく
り返して実行され、動いている被写体に対しても好まし
い焦点調節が行われる。Subsequently, in step (011), a "lens drive" subroutine is executed, and the lens is driven based on the lens drive amount DL corrected in the previous step (010). this"
The flow of the "lens drive" subroutine is shown in FIG. After the lens drive is completed, the process returns to step (002), and whether SW1 is turned off or switch SW2 (not shown) is turned off.
Steps (005) to (011) are repeatedly executed until the camera is turned on, and preferable focus adjustment is performed even for a moving subject.
さて、レリーズボタンがさらに押しこまれてスイッチS
W2がオンすると、割込み機能によって、いずれのステ
ップにあっても直ちにステップ(012)へ移行してレ
リーズ動作を開始する。Now, the release button is pushed in further and the switch S
When W2 is turned on, the interrupt function immediately moves to step (012) to start the release operation, regardless of which step it is in.
ステップ(013)ではレンズ駆動を実行中かどうか判
別し、駆動中であれば、ステップ(014)に移行し、
レンズに駆動停止命令を送出し、レンズを停止させ、ス
テップ(015)に進み、レンズを駆動していなければ
、すぐにステップ(015)に進む。In step (013), it is determined whether lens driving is being executed, and if driving is in progress, the process moves to step (014).
A drive stop command is sent to the lens to stop the lens, and the process proceeds to step (015). If the lens is not being driven, the process immediately proceeds to step (015).
ステップ(015)ではカメラのクイックリターンミラ
ーのミラーアップを行う。これは、第6図に示したモー
タ制御用信号M2F、M2Rにてモータ二MTR2を制
御することで実行される。次のステップ(016)では
先のステップ(005)の測光サブルーチンで既に格納
されている絞り制御値をレンズへ送出してレンズに絞り
制御を行わせる。In step (015), the quick return mirror of the camera is raised. This is executed by controlling the second motor MTR2 using the motor control signals M2F and M2R shown in FIG. In the next step (016), the aperture control value already stored in the photometry subroutine of the previous step (005) is sent to the lens to cause the lens to perform aperture control.
ステップ(015)、(016)のミラーアップと絞り
制御が完了したか否かはステップ(017)で検知する
わけであるが、ミラーアップはミラーに付随した不図示
の検知スイッチにて確認することが出来、絞り制御は、
レンズに対して所定の絞り値まで駆動したか否かを通信
で確認する。いずれかが未完了の場合には、このステッ
プで待機し、引き続き状態検知を行う。両者の制御終了
が確認されるとステップ(018)へ移行される。Whether or not the mirror-up and aperture control in steps (015) and (016) have been completed is detected in step (017), but mirror-up must be confirmed with a detection switch (not shown) attached to the mirror. is possible, and the aperture control is
It is confirmed via communication whether the lens has been driven to a predetermined aperture value. If either one is not completed, the process waits at this step and continues to detect the status. When it is confirmed that both controls have been completed, the process moves to step (018).
ステップ(018)では先のステップ(005)の測光
サブルーチンで既に格納されているシャッタ制御値にて
シャッタの制御を行いフィルムを露光する。In step (018), the shutter is controlled using the shutter control value already stored in the photometry subroutine of the previous step (005), and the film is exposed.
シャッタの制御が終了すると次のステップ(019)で
はレンズに対して、絞りを開放状態にするように命令を
送り、引き続いてステップ(020)でミラーダウンを
行う。ミラーダウンはミラーアップと同様にモータ制御
用信号M2F、M2Rを用いてモータMTR2を制御す
ることで実行される。When the shutter control is completed, in the next step (019), a command is sent to the lens to open the aperture, and then in step (020), the mirror is lowered. Similar to mirror up, mirror down is executed by controlling motor MTR2 using motor control signals M2F and M2R.
次のステップ(021)ではステップ(017)と同様
にミラーダウンと絞り開放が完了するのを待つ、ミラー
ダウンと絞り開放制御がともに完了するとステップ(0
22)へ移行する。In the next step (021), as in step (017), wait for the mirror down and aperture opening control to be completed.When both mirror down and aperture opening control are completed, step (0
22).
ステップ(022)では第6図に示したモータ制御用信
号MIF、MIRを適正に制御することでモーターMT
RIを制御し、フィルム1駒分が巻上げられる。In step (022), the motor MT is controlled by appropriately controlling the motor control signals MIF and MIR shown in FIG.
The RI is controlled and one frame of film is wound.
以上が予測AFを実施したカメラのシーケンスである。The above is the sequence of the camera that performed predictive AF.
次に第8図に示した「像信号入力」サブルーチンについ
て説明する。Next, the "image signal input" subroutine shown in FIG. 8 will be explained.
「像信号入力」は新たな焦点検出動作の最初に実行され
る動作であり、このサブルーチンがコールされると、ス
テップ(101)を経てステップ(102)にて、マイ
クロコンピュータPR8自身が有している自走タイマの
タイマ値TIMERをRAM上の記憶領域TNに格納す
ることによって、焦点検出動作の開始時刻を記憶してい
る。"Image signal input" is the first operation executed in a new focus detection operation, and when this subroutine is called, the process proceeds to step (101) and then to step (102). By storing the timer value TIMER of the self-running timer in the storage area TN on the RAM, the start time of the focus detection operation is stored.
次のステップ(103)では、レンズ駆動量補正式(6
)、(7)、(9)中の時間間隔に対応するTM、。In the next step (103), the lens drive amount correction formula (6
), (7), and (9).
1M2を更新する。ステップ(103)を実行する以前
には、TMl、1M2には前回の焦点検出動作における
時間間隔が記憶されており、またTN、には前回の焦点
検出動作を開始した時刻が記憶されている。Update 1M2. Before executing step (103), the time interval in the previous focus detection operation is stored in TM1 and 1M2, and the time at which the previous focus detection operation was started is stored in TN.
従って1M2は前々回から前回まで、TN、−TNは前
回から今回までの焦点検出動作の時間間隔を表わし、こ
れが式(6)、 (7)、 (9)中のTM、。Therefore, 1M2 represents the time interval between focus detection operations from the previous time to the previous time, and TN and -TN represent the time intervals of the focus detection operation from the previous time to the current time, and this is TM in equations (6), (7), and (9).
1M2に相当するRAM上の記憶領域TM1.TM2に
格納されるわけである。そしてTN、には次回の焦点検
出動作のために今回の時刻TNが格納される。A storage area TM1. on the RAM corresponding to 1M2. It is stored in TM2. The current time TN is stored in TN for the next focus detection operation.
即ち、ステップ(103)にて記憶領域T M H、T
M 2には常に前々回から前回までと前回から今回ま
での焦点検出動作時間が記憶される。That is, in step (103) the storage areas TMH, T
M2 always stores the focus detection operation time from the previous time to the previous time and from the previous time to the current time.
さて、次のステップ(104)でセンサ装置SNSに光
像の蓄積を開始させる。具体的にはマイクロコンピュー
タPR3がC3DRをHとなし、センサ駆動回路SDR
に通信にてSOとしての「蓄積開始コマンド」を送出し
て、これを受けてSDRはセンサ装置SNSの光電変換
素子部のクリア信号CLRをL′にして電荷の蓄積を開
始させる。Now, in the next step (104), the sensor device SNS is caused to start accumulating optical images. Specifically, the microcomputer PR3 sets C3DR to H, and the sensor drive circuit SDR
In response to this, the SDR sends an "accumulation start command" as SO via communication, and in response to this, the SDR changes the clear signal CLR of the photoelectric conversion element section of the sensor device SNS to L' to start accumulating charges.
ステップ(105)では自走タイマのタイマ値を変数T
Iに格納して現在の時刻を記憶する。In step (105), the timer value of the free-running timer is set as a variable T.
I to store the current time.
次のステップ(106)ではコンピュータPR8への入
力INTEND端子の状態を検知し、蓄積が終了したか
否かを調べる。センサ駆動回路SDRは蓄積開始と同時
に信号INTENDをL′にし、センサ装置SNSから
のAGC信号5AGC(蓄積量を表わす信号)をモニタ
し、該5AGCが所定レベルに達すると、信号INTE
NDを′H°にし、同時に電荷転送信号SHを所定時間
′H′にして、光電変換素子部の電荷をCCD部に転送
させる構造を有している。In the next step (106), the state of the input INTEND terminal to the computer PR8 is detected, and it is determined whether or not the storage has been completed. The sensor drive circuit SDR sets the signal INTEND to L' at the same time as the start of accumulation, monitors the AGC signal 5AGC (signal representing the accumulation amount) from the sensor device SNS, and when the 5AGC reaches a predetermined level, changes the signal INTEND to L'.
It has a structure in which the charge in the photoelectric conversion element section is transferred to the CCD section by setting the ND to 'H' and simultaneously setting the charge transfer signal SH to 'H' for a predetermined period of time.
ステップ(106)でINTEND端子がH′ならば蓄
積が終了したということでステップ(110)へ移行し
、L′ならば未だ蓄積が終了していないということでス
テップ(107)へ移行する。In step (106), if the INTEND terminal is H', it means that the storage has been completed, and the process moves to step (110); if it is L', it means that the storage has not finished yet, and the process moves to step (107).
ステップ(107)では自走タイマのタイマ値TIME
Rから、ステップ(105)で記憶した時刻TIを減じ
て変数TEに格納する。従ってTHには蓄積開始してか
らここまでの時刻、いわゆる蓄積時間が格納されること
になる。次のステップ(108)ではTEと定数MAX
INTを比較し、TEがMAXINT未満ならばステッ
プ(106)へ戻り、再び蓄積終了待ちとなる。TEが
MAXINT以上になるとステップ(109)へ移行し
て、強制的に蓄積終了させる。In step (107), the timer value TIME of the free-running timer is
The time TI stored in step (105) is subtracted from R and stored in the variable TE. Therefore, the time from the start of accumulation to this point, the so-called accumulation time, is stored in TH. In the next step (108), TE and constant MAX
INT is compared, and if TE is less than MAXINT, the process returns to step (106) and waits for the completion of accumulation again. When TE exceeds MAXINT, the process moves to step (109) and the accumulation is forcibly terminated.
強制蓄積終了はコンピュータPR3から上記通信号にて
回路SDRへ「蓄積終了コマンド」を送出することで実
行される。SDRはPH1から「蓄積終了コマンド」が
送られると、電荷転送信号SHを所定時間′H′にして
光電変換部の電荷をCCD部へ転送させる。ステップ(
109)までのフローでセンサの蓄積は終了することに
なる。The forced storage termination is executed by sending an "accumulation termination command" from the computer PR3 to the circuit SDR using the above communication signal. When the "accumulation end command" is sent from the PH1, the SDR sets the charge transfer signal SH to 'H' for a predetermined period of time to transfer the charges in the photoelectric conversion section to the CCD section. Step (
The sensor accumulation ends with the flow up to step 109).
ステップ(110)ではセンサ装置SNSの像信号O8
をセンサ駆動回路SDRで増幅した信号AO8のA/D
変換およびそのディジタル信号のRAM格納を行う。よ
り詳しく述べるならば、SDRはPH1からのクロック
CKに同期してCCD駆動用クロックφ1.φ2を生成
してSNS内部の制御回路へ与え、SNSはφ1.φ2
によってCCD部が駆動され、CCD内の電荷は、像信
号として出力O8から時系列的に出力される。この信号
はSDR内部の増巾器で増巾された後に、AO8として
PH1のアナログ入力端子へ入力される。PH1は自ら
が出力しているクロックCKに同期してA/D変換を行
い、A/D変換後のディジタル像信号を順次RAMの所
定アドレスに格納してゆく。In step (110), the image signal O8 of the sensor device SNS is
A/D of signal AO8 amplified by sensor drive circuit SDR
Performs conversion and stores the digital signal in RAM. More specifically, the SDR uses the CCD driving clock φ1. in synchronization with the clock CK from PH1. φ2 is generated and given to the control circuit inside the SNS, and the SNS generates φ1. φ2
The CCD unit is driven by the CCD unit, and the charges in the CCD are output in time series from the output O8 as an image signal. After this signal is amplified by an amplifier inside the SDR, it is input as AO8 to the analog input terminal of PH1. The PH1 performs A/D conversion in synchronization with the clock CK that it outputs, and sequentially stores the digital image signals after A/D conversion at predetermined addresses in the RAM.
このようにして像信号の入力を終了するとステップ(1
11)にて「像信号入力」サブルーチンをリターンする
。After inputting the image signal in this way, step (1
At step 11), the "image signal input" subroutine is returned.
第9図に「レンズ駆動」サブルーチンのフローチャート
を示す。FIG. 9 shows a flowchart of the "lens drive" subroutine.
このサブルーチンが実行されると、ステップ(202)
においてレンズと通信して、2つのデータrSJ rP
THJを入力する。rSJは撮影レンズ固有の「デフォ
ーカス量対焦点調節レンズ(り出し量の係数」であり、
例えば全体くり出し型の単レンズの場合には、撮影レン
ズ全体が焦点調節レンズであるからS=1であり、ズー
ムレンズの場合には各ズーム位置によってSは変化する
。「PTH」は焦点調節レンズLNSの光軸方向の移動
に連動したエンコーダENCFの出力1パルス当たりの
焦点調節レンズの(り出し量である。When this subroutine is executed, step (202)
communicates with the lens at
Enter THJ. rSJ is the "defocus amount vs. focusing lens (protrusion amount coefficient)" specific to the photographic lens,
For example, in the case of a fully projecting single lens, S=1 because the entire photographic lens is a focusing lens, and in the case of a zoom lens, S changes depending on each zoom position. "PTH" is the amount of protrusion of the focusing lens per output pulse of the encoder ENCF that is linked to the movement of the focusing lens LNS in the optical axis direction.
従って焦点調節すべきデフォーカス量DL、上記S、P
THにより焦点調節レンズのくり出し量をエンコーダの
出力パルス数に換算した値、いわゆるレンズ駆動量FP
は次式で与えられることになる。Therefore, the defocus amount DL to be adjusted, the above S, P
The value obtained by converting the protrusion amount of the focusing lens into the number of output pulses of the encoder using TH, the so-called lens drive amount FP
is given by the following equation.
FP=DLXS/PTH ステップ(203)は上式をそのまま実行している。FP=DLXS/PTH Step (203) executes the above equation as is.
ステップ(204)ではステップ(203)で求めたF
Pをレンズに送出して焦点調節レンズ(全体くり出し型
単レンズの場合には撮影レンズ全体)の駆動を命令する
。これによりモーターLMTRが回転し、レンズ駆動が
行われる。In step (204), F obtained in step (203)
P is sent to the lens to command the driving of the focusing lens (or the entire photographing lens in the case of a fully extending single lens). This rotates the motor LMTR and drives the lens.
次のステップ(205)で、レンズと通信してステップ
(206)で命令したレンズ駆動量FPの駆動が終了し
たか否かを検知し、駆動が終了するとステップ(206
)へ移行して「レンズ駆動」サブルーチンをリターンす
る。In the next step (205), it is detected whether or not the driving of the lens driving amount FP commanded in step (206) is completed by communicating with the lens, and when the driving is completed, step (206)
) and return to the "lens drive" subroutine.
尚、レンズ駆動の終了検知は上述の如く駆動量FPが回
路LPR8入力され、且つレンズ駆動がなされるとエン
コーダー回路ENCFのパルス5ENCFがLPR3内
のカウンターにて計数されており、この計数値が上記F
Pと一致し−たか否かの判別が回路LPR8内にて行わ
れ、計数値とFPとが一致した際のLPR8の出力状態
を上記ステップ(205)での通信にて検知され上記ス
テップ(206)へ移行するものである。In addition, to detect the end of lens driving, as described above, the driving amount FP is inputted to the circuit LPR8, and when the lens is driven, the pulse 5ENCF of the encoder circuit ENCF is counted by the counter in LPR3, and this counted value is the above-mentioned value. F
A determination as to whether the count value and FP match is made in the circuit LPR8, and the output state of the LPR8 when the count value and FP match is detected through the communication in the step (205), and the output state is detected in the step (206). ).
次に「予測演算」サブルーチンのフローを第1図で説明
する。第1図は「予測演算」サブルーチンのフローを示
したものであり、レリーズタイムラグを考慮したレンズ
駆動量を計算するものである。Next, the flow of the "prediction calculation" subroutine will be explained with reference to FIG. FIG. 1 shows the flow of the "prediction calculation" subroutine, which calculates the lens drive amount taking into account the release time lag.
ステップ(302)は予測に必要なデータ(デフォーカ
ス量、レンズ駆動量)が蓄積されたかどうかを判定する
カウンターC0UNTをカウントアツプする。このC0
UNTは初期状態では常に「0」であり、またステップ
(303)の変数クリアによっても初期化される。そし
て、カウントアツプが終了すると、次のステップに進む
。ステップ(303)。Step (302) counts up a counter C0UNT that determines whether data necessary for prediction (defocus amount, lens drive amount) has been accumulated. This C0
UNT is always "0" in the initial state, and is also initialized by clearing the variable in step (303). Then, when the count-up ends, proceed to the next step. Step (303).
(304)では今回の予測演算のためのデータの更新を
行っている。In (304), data for the current prediction calculation is updated.
即ち、ステップ(303)ではメモリーDF2のデータ
をDF、に入力する。メモリーDF2には今回の該サブ
ルーチンが行われる以前には前回のデフォーカス量が入
力されているが、今回の該サブルーチンが実行される時
点ではDF2の内容は前前回のデフォーカス量となって
しまうので、これをメモリーDF、に入力しメモリーD
F、には常に前前回のデフォーカス量がストアーされる
様なしている。That is, in step (303), the data in the memory DF2 is input to DF. The previous defocus amount is input to the memory DF2 before this subroutine is executed, but at the time the current subroutine is executed, the contents of DF2 become the previous defocus amount. So, input this into memory DF and save it to memory D.
The previous defocus amount is always stored in F.
又、メモリーDF3の内容をDF2に入力し、DF2に
常に前回のデフォーカス量が、又、今回の検出デフォー
カスfi DEFをDF3にストアーしてDF3に常に
今回のデフォーカス量が格納される様なしている。Also, input the contents of the memory DF3 to DF2 so that DF2 always stores the previous defocus amount, and stores the current detected defocus fi DEF in DF3 so that DF3 always stores the current defocus amount. I am doing it.
又、ステップ(304)ではメモリーDL2のデーター
をメモリーDL、に入力し、DL、に常に前々回のレン
ズ駆動量データーをストアーする。又データーDLをメ
モリーDL2に入力する。データーDLは前回の駆動量
データーであり、メモリーDL2には常に直前に行われ
たレンズ駆動量データーが格納される。Further, in step (304), the data in the memory DL2 is input to the memory DL, and the lens driving amount data from the previous time is always stored in the memory DL. The data DL is also input to the memory DL2. The data DL is the previous driving amount data, and the memory DL2 always stores the lens driving amount data performed immediately before.
以上のステップ(303)、(304)にて過去複数回
前から今回のデフォーカス量及びレンズ駆動量データー
が各メモリーに更新され格納される。In the above steps (303) and (304), the current defocus amount and lens drive amount data from a plurality of times in the past are updated and stored in each memory.
次のステップ(305)では、後で説明する「コントラ
スト判定」サブルーチンによって計算されたCI=Oか
どうかを判定する。ここでCI=Oの場合像信号のコン
トラストが非常に低く(低コン)焦点検出精度が悪いと
いうことでステップ(306)へ進む、ステップ(30
6)ではカウンターを初期化し、予測に必要なデータの
再蓄積を行うようにする。これによって非常に信頼性の
低いデータによる予測精度の悪い予測演算を防止するこ
とができる。In the next step (305), it is determined whether CI=O, which is calculated by a "contrast determination" subroutine to be described later. If CI=O, the contrast of the image signal is very low (low contrast) and the focus detection accuracy is poor, so the process goes to step (306).
In step 6), the counter is initialized to re-accumulate the data necessary for prediction. This can prevent prediction calculations with poor prediction accuracy based on extremely unreliable data.
ステップ(305)でCI=Oでない、すなわち、像信
号のコントラストがあるレベル以上であり、焦点検出精
度が所定のレベル以上である場合にはステップ(307
)へ進む。If CI=O is not determined in step (305), that is, the contrast of the image signal is at least a certain level, and the focus detection accuracy is at least a predetermined level, step (307
).
ステップ(307)では先のカウンターC0UNTが2
以上か否かを判定し、2以下であればステップ(308
)へ移行し、そうでなければステップ(309)へ進む
、ステップ(308)へはステップ(306)を終了し
た場合もステップ(308)へ移行する。このステップ
(308)は予測を行わない場合のレンズ駆動量を演算
するものであり、そのレンズ駆動量DLは今回検出され
たデフォーカス量DEFである。ステップ(308)を
終了するとステップ(314)にてリターンする。In step (307), the previous counter C0UNT is 2.
It is determined whether or not it is greater than or equal to 2, and if it is less than or equal to 2, step (308
), otherwise the process proceeds to step (309), and if step (306) is completed, the process also proceeds to step (308). This step (308) is to calculate the lens drive amount when prediction is not performed, and the lens drive amount DL is the currently detected defocus amount DEF. When step (308) is completed, the process returns to step (314).
ステップ(307)にてカウンターC0UNTが「2」
より大きければ、予測可能と判断し、ステップ(309
)に進む。At step (307), counter COUNT is "2"
If it is larger, it is determined that it is predictable and step (309
).
ステップ(309)、 (310)では、各メモリーD
F1〜DF3.DL1.DL2.TMl、TM2に格納
されたデータに基づき(6)、(7)式のa、 bの項
を表わすA、 Bを求める。In steps (309) and (310), each memory D
F1-DF3. DL1. DL2. Based on the data stored in TMl and TM2, A and B representing terms a and b in equations (6) and (7) are determined.
ステップ(311)では見込タイムラグTLの演算を行
う。この演算は記憶領域TM2のデーターとレリーズタ
イムラグTR(一定)の和を求めることで実行される。In step (311), an expected time lag TL is calculated. This calculation is executed by calculating the sum of the data in the storage area TM2 and the release time lag TR (constant).
記憶領域TM2には前述の如く前回から今回までの焦点
検出動作時間が記憶されており、今回の焦点検出動作時
間も前回の焦点検出動作時間と一致しているものとの仮
定のもとてタイムラグTL=TM2+TRを求める。As mentioned above, the memory area TM2 stores the focus detection operation time from the previous time to the current time, and the time lag is calculated based on the assumption that the current focus detection operation time is the same as the previous focus detection operation time. Find TL=TM2+TR.
次のステップ(312)では後述のサブルーチンにて補
正係数TFを求め、ステップ(313)へ移行する。In the next step (312), a correction coefficient TF is determined in a subroutine to be described later, and the process moves to step (313).
このステップ(313)では各メモリーのデータ及びス
テップ(309)〜(312)の演算値にもとづいて次
式(前述の(10)式)のような演算を行い、
DL = TF−A 〔(TM、+7M2+TL)”−
(TM 1+TM2)’)+B−TL+DF 3
(15)今回の像面移動量換算のレ
ンズ駆動量DLを求める。In this step (313), the following formula (formula (10) described above) is calculated based on the data in each memory and the calculated values in steps (309) to (312), and DL = TF-A [(TM , +7M2+TL)"-
(TM 1+TM2)')+B-TL+DF 3
(15) Calculate the lens drive amount DL in terms of the current image plane movement amount.
この後ステップ(314)にてリターンする。After this, the process returns to step (314).
この様にして、予測演算が行われると、ステップ(01
1)にて上述のレンズ駆動がなされ、レンズは像面位置
を一致させる位置へ移行される。In this way, when the prediction calculation is performed, step (01
In step 1), the lens is driven as described above, and the lens is moved to a position where the image plane positions match.
次に「コントラスト判定」サブルーチンのフローを第1
0図で説明する。第10図は「コントラスト判定」サブ
ルーチンのフローを示したものであり、像信号のコント
ラスト、すなわち、焦点検出結果の信頼性の有無につい
て判定するものである。Next, the flow of the “contrast judgment” subroutine is
This will be explained using Figure 0. FIG. 10 shows the flow of the "contrast determination" subroutine, which determines the contrast of the image signal, that is, the reliability of the focus detection result.
ステップ(402)では前述の像信号入力サブルーチン
にて得た光電変換素子の像パターンに応じたデジタル値
からコントラストCNTを求める。このコントラストC
NT検知は公知であり、その詳細な説明は省略する。In step (402), the contrast CNT is determined from the digital value corresponding to the image pattern of the photoelectric conversion element obtained in the image signal input subroutine described above. This contrast C
NT detection is well known, and detailed explanation thereof will be omitted.
次のステップ(403)では、先に求まったコントラス
トCNTが所定の値CAより大きいかどうか比較する。In the next step (403), it is compared whether the previously determined contrast CNT is larger than a predetermined value CA.
もし、CNT>CAであればステップ(404)に進み
、そうでなければステップ(405)へ移行する。ステ
ップ(404)ではコントラストが非常に高く、焦点検
出の精度が高いと判断し焦点検出の信頼性を評価するC
I=2とする。そしてステップ(404)を終えるとス
テップ(408)でリターンする。If CNT>CA, proceed to step (404); otherwise, proceed to step (405). In step (404), it is determined that the contrast is very high and the accuracy of focus detection is high, and the reliability of focus detection is evaluated.
Let I=2. After completing step (404), the process returns to step (408).
また、ステップ(403)からステップ(405)に進
むと、再度コントラストCNTを所定の値CBと比較し
、CNT>CBであればステップ(406)へそうでな
ければステップ(407)へ移行する。ステップ(40
6)では焦点検出結果についである程度の信頼性がある
と判断し、焦点検出の信頼性を評価するCI=1とする
。ステップ(407)では、コントラストが非常に低(
焦点検出結果の信頼性が低いと判断し、信頼性を評価す
るCI=0とする。Further, when the process proceeds from step (403) to step (405), the contrast CNT is again compared with a predetermined value CB, and if CNT>CB, the process proceeds to step (406); otherwise, the process proceeds to step (407). Step (40
In 6), it is determined that the focus detection result has a certain degree of reliability, and CI=1 is set to evaluate the reliability of focus detection. In step (407), the contrast is very low (
It is determined that the reliability of the focus detection result is low, and CI for evaluating reliability is set to 0.
そしてステップ(406)あるいは(407)を終了す
るとステップ(408)でリターンする。After completing step (406) or (407), the process returns to step (408).
ここでCA>CBであり、CBの値は予測演算に耐えつ
る信頼性の下限値としている。Here, CA>CB, and the value of CB is the lower limit of reliability that can withstand prediction calculations.
本実施例では、信頼性を3段階の評価としたが、3段階
である必要はなく、多段階、あるいは無段階の評価を行
っても良い。In this embodiment, reliability is evaluated in three stages, but it is not necessary to evaluate the reliability in three stages, and evaluation may be performed in multiple stages or in no stage.
次に、「レンズ駆動方向判定」サブルーチンのフローを
第11図で説明する。第11図は「レンズ駆動方向判定
」のフローを示したものであり、レンズの駆動方向が前
回と今回で反転したか否かを判定するものである。Next, the flow of the "lens drive direction determination" subroutine will be explained with reference to FIG. FIG. 11 shows the flow of "Lens Drive Direction Determination", in which it is determined whether the lens drive direction has been reversed between the previous time and the current time.
ステップ(502)では、前回のレンズ駆動量DL。In step (502), the previous lens drive amount DL.
と今回のレンズ駆動量DL2からIDL、−DL2を計
算駿、この値と1DL2+の大きさの比較を行う。ここ
で、今回と前回のレンズ駆動が同じ方向であればDL、
とDL2の符合は同じであり、次式%式%
これに対して、今回と前回のレンズ駆動方向が逆であれ
ば、DL、とDL2の符合は逆であり、次式のようにな
る。IDL and -DL2 are calculated from the current lens drive amount DL2, and this value is compared with the magnitude of 1DL2+. Here, if the current and previous lens drives are in the same direction, DL,
The signs of DL and DL2 are the same, and the following equation is obtained.On the other hand, if the current and previous lens drive directions are reversed, the signs of DL and DL2 are opposite, and the following equation is obtained.
DL、−DL2 > l DL2
すなわち、レンズの駆動方向が反転していなければステ
ップ(504)に進み、反転していればステップ(50
3)へ移行する。DL, -DL2 > l DL2 That is, if the driving direction of the lens is not reversed, the process proceeds to step (504), and if it is reversed, the process proceeds to step (50).
Move on to 3).
ステップ(504)ではレンズ駆動方向が同じことを示
すLI=1とし、ステップ(503)ではレンズ駆動方
向が反転したことを示すLI=Oとし、ステップ(50
5)にてこのサブルーチンをリターンする。In step (504), LI=1 indicating that the lens drive direction is the same, in step (503) LI=O indicating that the lens drive direction has been reversed, and in step (50
5) returns this subroutine.
このサブルーチンではレンズの駆動方向が反転すると、
レンズ駆動系のバックラッシュによりレンズ駆動精度が
低下し、そうでないときにはレンズ駆動精度は高いと考
えている。すなわち、LIはレンズ駆動精度を評価する
パラメータである。In this subroutine, when the lens drive direction is reversed,
We believe that lens drive accuracy decreases due to backlash in the lens drive system, and that lens drive accuracy is otherwise high. That is, LI is a parameter for evaluating lens drive accuracy.
ここで、本実施例ではレンズ駆動精度のパラメータであ
るLIはレンズの駆動方向により2段階の評価を行った
が、駆動精度の良し悪しをレンズのIDや開放F Ha
などのパラメータと合せて評価しても良い。Here, in this example, LI, which is a parameter of lens driving accuracy, was evaluated in two stages depending on the driving direction of the lens.
It may be evaluated in conjunction with other parameters.
次に、「補正係数演算」サブルーチンのフローを第12
図で説明する。第12図は「補正係数演算」サブルーチ
ンのフローを示したものであり、ステップ(602)で
は焦点検出精度評価パラメータCIとレンズ駆動精度評
価パラメータLIから、CI+LI=3のときにはステ
ップ(603)へ、そうでないときにはステップ(60
4)へ移行する。Next, the flow of the “correction coefficient calculation” subroutine is
This will be explained with a diagram. FIG. 12 shows the flow of the "correction coefficient calculation" subroutine. In step (602), from the focus detection accuracy evaluation parameter CI and the lens drive accuracy evaluation parameter LI, when CI+LI=3, the process proceeds to step (603). If not, step (60
Move on to 4).
ここで、CI+LT=3となる条件とはCI=2. L
I=1であり、これは焦点検出精度及びレンズ駆動精度
が高い状態、すなわち、焦点検出誤差やレンズ駆動誤差
による予測誤差が小さいことを示す。Here, the condition for CI+LT=3 is CI=2. L
I=1, which indicates that focus detection accuracy and lens drive accuracy are high, that is, prediction errors due to focus detection errors and lens drive errors are small.
ステップ(603)では補正の必要はないと判断し、T
F=1とし、ステップ(606)でリターンする。In step (603), it is determined that there is no need for correction, and T
Set F=1 and return at step (606).
ステップ(604)では焦点検出精度やレンズ駆動精度
が補正を無くせるほど高くないと判断し、焦点検出動作
時間間隔と予測に用いるタイムラグとの比TX= (T
M、+TM2)/ (2・TL)を各記憶領域TM 3
,7M2のデータ及び上記ステップ(311)にて求め
たTLに基づき計算し、次のステップへ進む。In step (604), it is determined that the focus detection accuracy and lens drive accuracy are not high enough to eliminate the correction, and the ratio of the focus detection operation time interval to the time lag used for prediction TX = (T
M, +TM2)/(2・TL) for each storage area TM3
, 7M2 and the TL obtained in step (311) above, and proceed to the next step.
ステップ(605)では、ステップ(604)で得られ
たTXによって2次の項を補正する係数TFを算出し、
リターンする。In step (605), a coefficient TF for correcting the quadratic term is calculated using the TX obtained in step (604),
Return.
本実施例では、レリーズタイムラグが一定であれば、T
Xの値が小さいときは焦点検出動作時間間隔が短か(な
ることに着目し、TXが小さくなると補正係数TFも小
さくなるように設定した(0<TF≦1)。また、TX
が大きい場合にはTFを過剰に小さ(すると逆に悪影響
を与えるため、TXが大きいときにはTFが1に近づ(
ように設定した。In this embodiment, if the release time lag is constant, T
Focusing on the fact that the focus detection operation time interval is short when the value of
If the
I set it like this.
以上の如く構成されているので、第7図のステップ8に
おけるコントラスト判定、及びレンス駆動方向判定サブ
ルーチン結果として、CI=2. LI=1の判定がな
されている時には第12図の補正係数演算にてTF=1
が設定される。従って、予測関数の補正を行うことなく
予測演算がなされる。With the above configuration, CI=2. When LI=1 is determined, TF=1 by calculating the correction coefficient in FIG.
is set. Therefore, prediction calculations are performed without correcting the prediction function.
又、上記CI=2. LI=1以外の時には予測関数
の補正がなされることとなる。Moreover, the above CI=2. When LI=1, the prediction function will be corrected.
従って、焦点検出誤差やレンズ駆動誤差による予測誤差
が小の時には予測関数の補正を行うことなく予測演算さ
れ、上記補正による誤差を防止し、一方予測誤差が大の
時には上記補正を行い予測誤差を小となる様にしている
。Therefore, when the prediction error due to focus detection error or lens driving error is small, predictive calculation is performed without correcting the prediction function to prevent the error caused by the above correction, while when the prediction error is large, the above correction is performed to reduce the prediction error. I'm trying to keep it small.
上述の実施例においては、焦点検出精度を評価する上で
像信号のコントラストのみ゛によって評価したが、それ
以外のパラメータ、例えば光電変換素子の蓄積時間が長
くなったり、前記素子の温度が高温になった場合には像
信号の中でのノイズ成分が拡大され、焦点検出精度が低
下する。このように蓄積時間や温度、湿度によって焦点
検出精度を評価しても良く、また光学的なゴーストなど
によっても焦点検出精度が低下するため、逆光の検知手
段や2像の相似性によって焦点検出精度を評価しても良
い。In the above embodiment, the focus detection accuracy was evaluated based only on the contrast of the image signal, but other parameters such as an increase in the storage time of the photoelectric conversion element or an increase in the temperature of the element may also be considered. If this happens, the noise component in the image signal will be magnified and the focus detection accuracy will deteriorate. In this way, focus detection accuracy can be evaluated based on accumulation time, temperature, and humidity.Furthermore, focus detection accuracy is also degraded by optical ghosts, etc., so focus detection accuracy can be evaluated based on backlight detection means and the similarity of the two images. may be evaluated.
レンズ駆動精度については、そのアクチュエーターや駆
動系の構成によって駆動精度が異なるため、レンズID
やその他のパラメータ、開放F&。The lens drive accuracy varies depending on the actuator and drive system configuration, so the lens ID
and other parameters, open F&.
レンズ構成によって評価しても良い。It may be evaluated based on the lens configuration.
そして、前記パラメータによって予測が不適切であると
判断された場合には予測を禁止し、また、補正が必要な
条件下では補正を加えるなどの判断を行うことができる
。Then, if it is determined that the prediction is inappropriate based on the parameters, it is possible to prohibit the prediction, and under conditions where correction is necessary, it is possible to make a judgment such as adding correction.
また、上記実施例では、DL2でのバックラッシュ及び
DF3でのコントラストの精度しか評価していないが、
DFl、DF2.DF3.DL、、DL2の各精度を考
慮し、補正の有無あるいは強弱、更には予測可否を判定
しても良い。In addition, in the above example, only the accuracy of backlash at DL2 and contrast at DF3 was evaluated;
DFl, DF2. DF3. The accuracy of each of DL, DL2 may be considered to determine the presence or absence of correction, its strength, and whether prediction is possible or not.
また、連続してレンズの駆動方向が反転するような場合
には、予測の不必要な被写体、あるいは不適切な被写体
であることが考えられるため、このような場合には予測
AFを禁止することも可能である。Additionally, if the lens driving direction is continuously reversed, the subject may not require prediction or may be inappropriate, so predictive AF should be prohibited in such cases. is also possible.
本発明は、予測AFにおいて焦点検出精度、レンズ駆動
精度を評価し、これによって予測関数の補正の可非を判
定したが、同様にして、予測AFの適。In the present invention, the focus detection accuracy and lens drive accuracy are evaluated in predictive AF, and based on this, it is determined whether or not the predictive function can be corrected.
不敵を判定し、必要ならば予測AFの禁止を行うことも
可能である。It is also possible to determine invincibility and prohibit predictive AF if necessary.
以上、説明したように、従来、レンズ駆動誤差。 As explained above, conventional lens drive errors.
焦点検出誤差による予測誤差を防止するために予測関数
の高次の項の補正を行い、これによって像面の非線形な
動きに対する追従性能が低下していたが、本発明による
とレンズ駆動精度、焦点検出精度が高いと判断できると
き、すなわち、予測誤差が小さいと判断できるときには
補正を中止することにより、このような条件下での非線
形な動きに対する追従性能を向上させることができる効
果がある。In order to prevent prediction errors due to focus detection errors, higher-order terms in the prediction function are corrected, which degrades tracking performance for nonlinear movements of the image plane. However, according to the present invention, lens drive accuracy and focus By stopping the correction when it is determined that the detection accuracy is high, that is, when it is determined that the prediction error is small, there is an effect that the tracking performance for nonlinear movements under such conditions can be improved.
第1図は本発明の焦点調節装置における予測演算動作を
説明するプログラムを示す説明図。
第2図は本発明の焦点調節装置のレンズ駆動を原理を説
明する原理説明図。
第3図は焦点検出誤差やレンズ駆動誤差によって発生す
る予測誤差の説明図。
第4図、第5図は予測関数の補正による予測誤差発生の
説明図。
第6図は本発明の焦点調節装置の一実施例を示す回路図
。
第7図は第6図示の自動焦点調節装置の全体動作を説明
するプログラムフローを示す説明図。
第8図は第7図における「像信号入力」サブルーチンを
示す説明図。
第9図は第7図における「レンズ駆動」サブルーチンを
示す説明図。
第10図は第7図における「コントラスト判定」サブル
ーチンを示す説明図。
第11図は第7図における「レンズ駆動方向判定」サブ
ルーチンを示す説明図。
第12図は第1図における「補正係数演算」サブルーチ
ンを示す説明図である。
PH1・・・マイクロコンピュータ
LCM・・・バッファ回路
SNS ・・・センサー装置
(θ6υ
(dol)FIG. 1 is an explanatory diagram showing a program for explaining predictive calculation operations in the focus adjustment device of the present invention. FIG. 2 is a diagram illustrating the principle of driving the lens of the focus adjustment device of the present invention. FIG. 3 is an explanatory diagram of prediction errors caused by focus detection errors and lens drive errors. FIGS. 4 and 5 are explanatory diagrams of occurrence of prediction errors due to correction of prediction functions. FIG. 6 is a circuit diagram showing an embodiment of the focus adjustment device of the present invention. FIG. 7 is an explanatory diagram showing a program flow for explaining the overall operation of the automatic focus adjustment device shown in FIG. FIG. 8 is an explanatory diagram showing the "image signal input" subroutine in FIG. 7. FIG. 9 is an explanatory diagram showing the "lens drive" subroutine in FIG. 7. FIG. 10 is an explanatory diagram showing the "contrast determination" subroutine in FIG. 7. FIG. 11 is an explanatory diagram showing the "lens drive direction determination" subroutine in FIG. 7. FIG. 12 is an explanatory diagram showing the "correction coefficient calculation" subroutine in FIG. 1. PH1...Microcomputer LCM...Buffer circuit SNS...Sensor device (θ6υ (dol)
Claims (4)
点調節装置において、過去複数回の焦点調節動作におけ
る焦点調節データに基づき所定時間後における被写体の
位置に応じたレンズ駆動量又は被写体の像面位置を所定
の関数に基づいて演算する演算回路を設け、所定時間後
の被写体位置に対して合焦させるべくレンズ駆動を行う
とともに、前記関数に対して補正を行い補正関数により
上記演算を行わせる補正回路と、前記焦点調節動作にお
ける上記焦点調節データに応じて前記補正回路の作動非
作動を決定する決定回路を設けたことを特徴とする焦点
調節装置。(1) In a focus adjustment device that drives a lens based on the output of a focus detection circuit, the amount of lens drive or the image plane of the subject is determined based on focus adjustment data from multiple past focus adjustment operations, depending on the position of the subject after a predetermined period of time. A calculation circuit that calculates the position based on a predetermined function is provided, and the lens is driven to focus on the subject position after a predetermined time, and the function is corrected and the above calculation is performed using the correction function. A focus adjustment device comprising: a correction circuit; and a determination circuit that determines whether or not the correction circuit is activated in accordance with the focus adjustment data in the focus adjustment operation.
し、精度が低い時に補正回路を作動させ、精度が高い時
には補正回路を不作動とする特許請求の範囲第1項記載
の焦点調節装置。(2) The focus adjustment device according to claim 1, wherein the determination circuit determines the accuracy of the focus adjustment data, operates a correction circuit when the accuracy is low, and disables the correction circuit when the accuracy is high. .
関数の高次項の係数を低減させる特許請求の範囲第2項
記載の焦点調節装置。(3) The focusing device according to claim 2, wherein the function is a several-order function, and the correction circuit reduces coefficients of higher-order terms of the function.
点調節装置において、過去複数回の焦点調節動作におけ
る焦点調節データに基づき所定時間後における被写体の
位置に応じたレンズ駆動量又は被写体の像面位置を所定
の関数に基づいて演算する演算回路を設け、所定時間後
の被写体位置に対して合焦させるべくレンズ駆動を行う
とともに、前記所定の関数とは異なる第2の関数にて前
記演算を行わせる演算制御回路と、前記焦点調節動作に
おける上記焦点調節データに応じて該演算制御回路の作
動非作動を決定する決定回路を設けたことを特徴とする
焦点調節装置。(4) In a focus adjustment device that drives a lens based on the focus detection circuit output, the amount of lens drive or the image plane of the subject is determined based on focus adjustment data from multiple past focus adjustment operations, depending on the position of the subject after a predetermined period of time. A calculation circuit that calculates the position based on a predetermined function is provided, the lens is driven to focus on the subject position after a predetermined time, and the calculation is performed using a second function different from the predetermined function. A focus adjustment device comprising: an arithmetic control circuit for performing the focus adjustment operation; and a determination circuit for determining whether to operate or deactivate the arithmetic control circuit in accordance with the focus adjustment data in the focus adjustment operation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33263588A JPH02176735A (en) | 1988-12-28 | 1988-12-28 | focus adjustment device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP33263588A JPH02176735A (en) | 1988-12-28 | 1988-12-28 | focus adjustment device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02176735A true JPH02176735A (en) | 1990-07-09 |
| JPH0541967B2 JPH0541967B2 (en) | 1993-06-25 |
Family
ID=18257159
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP33263588A Granted JPH02176735A (en) | 1988-12-28 | 1988-12-28 | focus adjustment device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02176735A (en) |
-
1988
- 1988-12-28 JP JP33263588A patent/JPH02176735A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0541967B2 (en) | 1993-06-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH01285908A (en) | automatic focus adjustment device for camera | |
| JPH01285907A (en) | automatic focus adjustment device for camera | |
| JPH01213614A (en) | Automatic focusing device | |
| JPH01177507A (en) | Camera possessing automatic focusing device | |
| JPH01167815A (en) | Automatic focusing device | |
| JPH01134410A (en) | automatic focus adjustment device | |
| JPS63172239A (en) | auto focus device | |
| JPH01280713A (en) | Automatic focus adjustor | |
| JPS63172231A (en) | automatic focus adjustment device | |
| JPH02189533A (en) | automatic focus adjustment device | |
| JPH02176735A (en) | focus adjustment device | |
| JP2762513B2 (en) | Automatic focusing device | |
| JPH03225332A (en) | Camera provided with autofocusing device | |
| JPH02181738A (en) | automatic focus adjustment device | |
| JPH02208642A (en) | automatic focus adjustment device | |
| JPH01288816A (en) | automatic focus adjustment device | |
| JPH02181739A (en) | automatic focus adjustment device | |
| JP2941891B2 (en) | Automatic focusing device | |
| JP4262034B2 (en) | Optical device and camera | |
| JPH01200315A (en) | Automatic focusing device | |
| JPS63172235A (en) | automatic focus adjustment device | |
| JPS63172224A (en) | auto focus device | |
| JPH0541966B2 (en) | ||
| JPH03181923A (en) | automatic focus adjustment device | |
| JPH01288814A (en) | automatic focus adjustment device |