JPS62178914A - Automatic focus detecting device - Google Patents

Automatic focus detecting device

Info

Publication number
JPS62178914A
JPS62178914A JP61020080A JP2008086A JPS62178914A JP S62178914 A JPS62178914 A JP S62178914A JP 61020080 A JP61020080 A JP 61020080A JP 2008086 A JP2008086 A JP 2008086A JP S62178914 A JPS62178914 A JP S62178914A
Authority
JP
Japan
Prior art keywords
signal
time
updated
light
dead zone
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
Application number
JP61020080A
Other languages
Japanese (ja)
Inventor
Naoya Kaneda
直也 金田
Masamichi Toyama
当山 正道
Akihiro Fujiwara
昭広 藤原
Yoichi Iwasaki
陽一 岩崎
Susumu Kozuki
上月 進
Koji Takahashi
宏爾 高橋
Takashi Amikura
網蔵 孝
Toshihiko Nishikiori
俊彦 錦織
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP61020080A priority Critical patent/JPS62178914A/en
Publication of JPS62178914A publication Critical patent/JPS62178914A/en
Pending legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Measurement Of Optical Distance (AREA)
  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

PURPOSE:To keep in an extremely well-balanced manner a reduction of a hunting operation and a drop of a focus detection accuracy, by constituting the titled device so that a size of a focusing dead zone becomes large as length of a prescribed reset time which has been updated and set becomes long. CONSTITUTION:The titled device is provided with an arithmetic means for storing an integral value of a signal which has been integrated to a prescribed reset time of the previous time by an integral means, updating and setting a prescribed reset time of this time, based on its signal, making an integral means execute an integral operation in accordance with the prescribed reset time which has been updated and set, detecting a focal state from an obtained integral value, and simultaneously, determining a size of a focusing dead zone which can be varied continuously in accordance with length of the prescribed reset time which has been updated and set. In this state, as length of the prescribed reset time which has been updated and set becomes long, a size of the focusing dead zone is made large. In this way, a reduction of a hunting operation and a drop of a focus detection accuracy can be kept in an extremely well-balanced manner.

Description

【発明の詳細な説明】 (発明の利用分野) 本発明は、ビデオカメラ等に用いられる自動焦点検出装
置、特に被写体へ光を投光し、その反射光を受光して焦
点検出を行うアクティブ方式の自動焦点装置の改良に関
するものである。
Detailed Description of the Invention (Field of Application of the Invention) The present invention relates to an automatic focus detection device used in a video camera, etc., particularly an active type automatic focus detection device that projects light onto a subject and receives the reflected light to detect focus. This invention relates to improvements to automatic focusing devices.

(発明の背景) 第6図に本願出願人が先願(特願昭60−80326号
等)したこの種の装置を示す、1は投光素子、2は駆動
用モータ3を駆動源として移動する例えば撮影レンズで
、該撮影レンズ2が移動することに連動して受光部4a
、4bから成る受光素子4も移動し始める(実際は駆動
用モータ3の回転に連動してカム等を介して移動する)
。5はマイクロコンピュータ6からハイレベルのタイミ
ング信号M1が入力することによりオンするアナログス
イッチで、該スイッチがオンしている時は受光部4a 
、4bの両方が被写体からの反射光を受光し、オフ時に
は受光部4aのみが受光することになる。7はセンサア
ンプ、8は直流の成分(外光成分)を取り除くためのバ
イパスフィルタ、9はインバータ10を介して入力する
信号に応じてその時入力する和信号(A + B)或い
は信号Aのゲインをコントロールする、即ちタイミング
信号M1がハイレベルの信号の時(この場合は和信号(
A+B)が入力している)にはそのままのレベルで次段
へ出力し、タイミング信号M1がローレベルの信号に時
(この場合は信号Aが入力して。
(Background of the Invention) Fig. 6 shows a device of this kind that the applicant of the present application has filed an earlier application for (Japanese Patent Application No. 60-80326, etc.). 1 is a light projecting element, 2 is a driving motor 3, and is moved as a driving source. For example, when the photographing lens 2 moves, the light receiving section 4a
, 4b also begins to move (actually, it moves via a cam etc. in conjunction with the rotation of the drive motor 3).
. 5 is an analog switch that is turned on when a high-level timing signal M1 is input from the microcomputer 6; when the switch is on, the light receiving section 4a is turned on;
, 4b both receive reflected light from the subject, and only the light receiving section 4a receives light when it is off. 7 is a sensor amplifier, 8 is a bypass filter for removing DC components (external light components), and 9 is a sum signal (A + B) input at that time or the gain of signal A, depending on the signal input via the inverter 10. In other words, when the timing signal M1 is a high level signal (in this case, the sum signal (
When the timing signal M1 is a low level signal (in this case, the signal A is input), it is output to the next stage at the same level.

いる)には2倍のレベルにゲインアップして次段へ出力
するゲインコントロール回路、11.12はマイクロコ
ンピュータ6からタイミング信号M2.M3が入力する
ことによりオンするアナログスイッチ、13はマイクロ
コンピュータ6から入力するパルス信号であるタイミン
グ信号M4に従ってオンオフするアナログスイッチ、1
4は積分回路、15は信号A、Bとは逆極性の、例えば
負の一定電流iを発生する定電流源で、和信号(A+B
)或いは信号2Aの積分値を逆積分する場合に用いられ
る。16は和信号(A+B)或いは信号2Aの積分値の
逆積分が完全に終了した時点(積分出力がゼロに達した
時点)で内部にパルス信号をカウントするカウント部を
有するマイクロコンピュータ6ヘハイレベルの信号を出
力するコンパレータ、17はタイミング信号M4に従っ
て投光素子1を駆動する駆動回路である。
) is a gain control circuit that increases the gain to twice the level and outputs it to the next stage, and 11.12 receives timing signals M2.1 from the microcomputer 6. 13 is an analog switch that turns on and off in accordance with a timing signal M4, which is a pulse signal input from the microcomputer 6; 1;
4 is an integrator circuit, 15 is a constant current source that generates a negative constant current i, which has the opposite polarity to the signals A and B, and generates a sum signal (A+B
) or used when inversely integrating the integral value of signal 2A. 16 is a high-level signal sent to the microcomputer 6, which has an internal counting section that counts pulse signals when the inverse integration of the integral value of the sum signal (A+B) or signal 2A is completely completed (when the integral output reaches zero); A comparator 17 that outputs the signal M4 is a drive circuit that drives the light projecting element 1 in accordance with the timing signal M4.

次に動作について第7,8図を参照しながら説明する。Next, the operation will be explained with reference to FIGS. 7 and 8.

先ず、マイクロコンピュータ6はタイミング信号M、を
出力し、アナログスイッチ5を予め設定された10時間
オン状態にする。このようにアナログスイッチ5がオン
することにより、投光素子1より投光され、被写体から
戻ってくる反射光は受光部4a、4bの両方によって受
光され、センサアンプ7から和信号(A+B)が出力さ
れる。又前記タイミング信号M1はインバータ10を介
してローレベルの信号としてゲインコントロール回路1
2へ入力しており、よって、該ゲインコントロール回路
12はバイパスフィルタ8を介して入力する和信号(A
+B)をそのままのレベルで次段のアナログスイッチ1
1へ出力する。また、この時第7図(a)からもわかる
ようにマイクロコンピュータ6からはタイミング信号M
2 、M4が出力されているので、アナログスイッチ1
1はタイミング信号M2に従って、アナログスイッチ1
3はタイミング信号M4に従ってオンオフ、即ち投光素
子lの発光タイミングに同期して、それぞれオンする。
First, the microcomputer 6 outputs a timing signal M to turn on the analog switch 5 for a preset 10 hours. By turning on the analog switch 5 in this way, the light emitted from the light emitting element 1 and reflected light returning from the subject is received by both the light receiving parts 4a and 4b, and the sum signal (A+B) is output from the sensor amplifier 7. Output. Further, the timing signal M1 is sent to the gain control circuit 1 as a low level signal via the inverter 10.
Therefore, the gain control circuit 12 receives the sum signal (A
+B) at the same level as the next analog switch 1
Output to 1. Also, at this time, as can be seen from FIG. 7(a), the microcomputer 6 sends a timing signal M.
2. Since M4 is output, analog switch 1
1 is analog switch 1 according to timing signal M2.
3 are turned on and off according to the timing signal M4, that is, they are turned on in synchronization with the light emission timing of the light projecting element 1.

このため、ゲインコントロール回路9より出力される和
信号(A+B)は前記アナログスイッチ11.13を通
して積分回路14へ送られ、第7図(b)に示されるよ
うに10時間積分される(第8図ステップ■)。
Therefore, the sum signal (A+B) output from the gain control circuit 9 is sent to the integration circuit 14 through the analog switch 11.13, and is integrated for 10 hours as shown in FIG. Figure step ■).

このように10時間積分回路14にて和信号(A+B)
の積分が行われると、マイクロコンピュータ6はタイミ
ング信号M3を出力し始め、今度はアナログスイッチ1
2をオン状態にする。
In this way, the sum signal (A+B) is generated by the 10-hour integration circuit 14.
When the integration of is performed, the microcomputer 6 starts outputting the timing signal M3, and this time the analog switch 1
Turn on 2.

アナログスイッチ12がオンすると、定電流源15より
流れてくる負の一定電流iにより逆積分が開始(第7図
参照)され、この逆積分はコンパレータ16よりハイレ
ベルの信号が出力されるまでの回行われる。この間(逆
積分に要する時間)マイクロコンピュータ6内に配置l
!tされるカウント部は同じく内部に配置されるパルス
発生部にて発生するパルス数をカウントする。この時の
パルス数をPOとすると、P、は和信号(A + B)
の積分値に相当するA/D変換信号(A/D変換値)と
なる(ステップ■)。
When the analog switch 12 is turned on, inverse integration is started by the constant negative current i flowing from the constant current source 15 (see FIG. 7), and this inverse integration continues until a high level signal is output from the comparator 16. It will be held twice. During this time (time required for inverse integration)
! The counting section counted by t counts the number of pulses generated by the pulse generating section also arranged inside. If the number of pulses at this time is PO, then P is the sum signal (A + B)
An A/D conversion signal (A/D conversion value) corresponding to the integral value of is obtained (step 2).

以上のようにしてプリ測距によるパルス数p。As described above, the number of pulses p is determined by pre-distance measurement.

が得られたら、該パルス数P0に基づいて、積分回路1
4で和信号(A+B)を積分するのに適した積分時間を
設定する。つまり前述したように、被写体までの距離や
その反射率が異なる場合、ある一定時間和信号(A +
 B)を積分した時、その積分値は大きく変動し、その
時の被写体条件によって測距可能なダイナミックレンジ
を越えてしまうといった不都合等が生じるため、和信号
(A+B)の積分時間を適当な時間に、即ち和信号(A
+B)の積分値が高ければ積分時間を短くし、逆に低け
れば積分時間を長くする。そこで、次式のような演算を
マイクロコンピュータ6内で行い、次回の和信号(A 
+ B)の積分時間を決める。但し、kは定数、Tnは
次回の積分時間である。
is obtained, based on the pulse number P0, the integrating circuit 1
Step 4 sets an integration time suitable for integrating the sum signal (A+B). In other words, as mentioned above, when the distance to the subject and its reflectance are different, the sum signal (A +
When B) is integrated, the integral value fluctuates greatly and may exceed the dynamic range that can be measured depending on the subject conditions at that time. , that is, the sum signal (A
If the integral value of +B) is high, the integral time is shortened, and conversely, if it is low, the integral time is lengthened. Therefore, the following calculation is performed in the microcomputer 6, and the next sum signal (A
+ B) Determine the integration time. However, k is a constant and Tn is the next integration time.

Tn  =Tn−%  虐k / PI−1前式により
積分時間を算出(今回はT、=To・に/Po)により
算出される)したら(ステップ■)、マイクロコンピュ
ータ6はこのT、時間タイミング信号M1 、M2  
、Maを出力する。これにより、T1時間和信号(A 
+ B)の積分が行われ(ステップ■)、次いでタイミ
ング信号M3が出力されることから一定電流iにて逆積
分がなされ、和信号(A+B)の積分値をA/D変換し
たパルス数PA↑8 が得られる(ステップ■)。この
時のパルス数P^ヤ6 はマイクロコンピュータ6内に
記憶される。以上の動作が終了したら、マイクロコンピ
ュータ6は再びタイミング信号M2  。
Tn = Tn-% k / PI-1 After calculating the integral time using the previous equation (this time it is calculated from T, =To・ni/Po) (step ■), the microcomputer 6 calculates this T, time timing. Signals M1, M2
, Ma. As a result, the T1 time sum signal (A
+ B) is integrated (step ■), and then the timing signal M3 is output, so inverse integration is performed at a constant current i, and the integrated value of the sum signal (A+B) is A/D converted to the number of pulses PA. ↑8 is obtained (step ■). The number of pulses P^ya6 at this time is stored in the microcomputer 6. After the above operations are completed, the microcomputer 6 again outputs the timing signal M2.

M4を出力する(第7図(a)参照)、この場合、タイ
ミング信号M1は出力されないため、アナログスイッチ
5はオフしており、又ゲインコントロール回路9は入力
する信号を2倍にゲインアップするモードに切り換わっ
ている。よって、この場合は受光部4aのみで受光され
、出力される信号Aの2倍の信号2Aが積分され(ステ
ップ■)、次いで前述と同様タイミング信号M3が出力
されることから一定電流iにて逆積分が行われ、信号2
Aの積分tiをA/D変換したパルス数P2^が得られ
る(ステップ■)。
M4 is output (see FIG. 7(a)). In this case, since the timing signal M1 is not output, the analog switch 5 is off, and the gain control circuit 9 doubles the gain of the input signal. mode is being switched. Therefore, in this case, the signal 2A, which is twice the signal A that is received and outputted by the light receiving section 4a, is integrated (step ■), and then the timing signal M3 is outputted as described above, so at a constant current i. Inverse integration is performed and signal 2
The number of pulses P2^ is obtained by A/D converting the integral ti of A (step ■).

マイクロコンピュータ6は、前述のようにして得られた
パルス数PzAとPAte  に基づき、例えば第9図
に示すような演算をして合焦、非合焦(前側ピント、後
側ピント)の判断を行と共に、非合焦には、パルス数の
比P2^/ P4+5  に応じて駆動用モータ3への
自動焦点制御信号N(第6図参照)のパルス幅を変調(
PWM)する。これによって、駆動用モータ3の回転方
向及び回転速度が制御される。この例では第9図に示す
ように、Pz^/ PAAIl  が例えばro、8〜
1.2J内であれば合焦と判断して駆動用モータ3へ自
動焦点制御信号Nを出力を出力しない(何ら電圧を印加
しない)ようにしている、尚、前記「0.8〜1.2」
という範囲は実は不感帯であり、理想的にはrl 、O
J即ち2A=A+B、つまりA=Bの時が真実の合焦状
態であるが、合焦とみなし得る幅をもたせる構成にして
いる。又マイクロコンピュータ6内に記憶されたパルス
数PA中5は前述したパルス数Poの如く次回の測距時
の和信号(A+B)の積分時間(第7図に示される12
時間)を設定するのに使用され、同様の測距動作が行わ
れる(ステップ■〜■)、以後同様に12時間に得られ
るパルス数P′A↑8 は次回の積分時間(13時間)
を設定するのに使用される。
Based on the pulse numbers PzA and PAte obtained as described above, the microcomputer 6 performs calculations as shown in FIG. 9, for example, to determine in-focus or out-of-focus (front focus, rear focus). At the same time, for out-of-focus, the pulse width of the automatic focus control signal N (see Fig. 6) to the drive motor 3 is modulated according to the pulse number ratio P2^/P4+5 (see Fig. 6).
PWM). Thereby, the rotational direction and rotational speed of the drive motor 3 are controlled. In this example, as shown in FIG. 9, Pz^/PAAIl is, for example, ro, 8~
If it is within 1.2 J, it is determined that the focus is in focus, and the automatic focus control signal N is not output to the drive motor 3 (no voltage is applied). 2"
This range is actually a dead zone, and ideally rl, O
The true in-focus state is when J, that is, 2A=A+B, that is, A=B, but the configuration is such that it has a range that can be considered as in-focus. Also, 5 of the pulse numbers PA stored in the microcomputer 6 is the integration time of the sum signal (A+B) during the next distance measurement (12 as shown in FIG.
The same distance measurement operation is performed (steps ■ to ■).The number of pulses P'A↑8 obtained in the same 12 hours is used to set the next integration time (13 hours).
used to set.

前述のような装置においては、時分割に出力される和信
号(A + B)と信号2Aの各積分値に基づいて測距
情報を得るような構成にしているため、回路規模が小さ
くて済むことや、オフセット電圧をよりキャンセルする
ことができる等の利点があるものの、撮影レンズ2が合
焦近傍でビクついたり、ハンチングを生じたりすると言
った不都合が考えられる。これは受光素子4へ入射する
光として、投光素子1より投光された光が被写体面で反
射して戻ってくる光の他に、例えば蛍光灯や太陽光など
の外光があり、これらの外光ノイズ成分が検出されるべ
き信号に重畳されてしまうからで、前述のような外光ノ
イズ成分を除去するための手段としては、第6図の如く
バイパスフィルタ8、同期検波回路を成すスイッチ13
を配置したり、積分回路14を入れて交流成分を除去す
るなどの対策が講じられているが、完全に除去すること
は困難なため、被写体の反射率が低かったり、被写体が
遠距離にある様な場合には、ノイズ成分の影響が無視で
きない状態となる。即ち、第10図は前記第7図(b)
に示したパルス数PA+s及びPEAを得る場合の積分
出力を示したものであるが、例えばこの図のようにノイ
ズ等によりパルス数P AvB に関しては、P(^+
防MINからP(AI)−Maべまで、パルス数P2^
に関しては、p2A−HtyからPEA−MAXまでバ
ラつくことがあるとする。この時に第9図にて述べたP
2A / P^↑6なる演算を行うと、場合によっては
合焦時のノイズによる変動幅が「0゜7〜1.3」まで
の値をとることが考えられる。
In the above-mentioned device, the circuit scale can be kept small because the distance measurement information is obtained based on the integral values of the sum signal (A + B) and signal 2A, which are output in a time-division manner. Although there are advantages such as being able to more effectively cancel the offset voltage, there may be disadvantages such as the photographic lens 2 trembling or hunting near the focus. This is because the light that enters the light-receiving element 4 includes, in addition to the light emitted from the light-emitting element 1 that is reflected back from the subject surface, external light such as fluorescent lamps and sunlight. This is because the external light noise components of the above are superimposed on the signal to be detected.As a means for removing the external light noise components as described above, a bypass filter 8 and a synchronous detection circuit are used as shown in FIG. switch 13
Countermeasures have been taken, such as installing an AC component or installing an integrating circuit 14 to remove the alternating current component, but it is difficult to completely remove the alternating current component. In such cases, the influence of noise components cannot be ignored. That is, FIG. 10 is the same as FIG. 7(b) above.
This figure shows the integral output when obtaining the number of pulses PA+s and PEA shown in .
From defense MIN to P(AI)-Mabe, pulse number P2^
It is assumed that there may be variations from p2A-Hty to PEA-MAX. At this time, P described in Figure 9
When the calculation 2A/P^↑6 is performed, it is conceivable that the fluctuation range due to noise during focusing may take a value from 0°7 to 1.3 depending on the case.

この時の距#mC撮影レンズ2)の動きは極端な場合に
は、P2/I/P八ヤ6が0.7と1.3を交互にとる
ことによりハンチング動作をしたり、そうでない場合で
も距離環が停止した後再度動き出すといった不都合が生
じることになる。
If the movement of the distance #mC photographing lens 2) at this time is extreme, the P2/I/P Yaya 6 may alternate between 0.7 and 1.3, causing a hunting operation, or if not However, there will be an inconvenience that the range ring will start moving again after it stops.

(発明の目的) 本発明の目的は、上述した問題を解決し、ハンチング動
作の軽減と焦点検出精度の低下をきわめてバランスよく
保つことができる自動焦点検出装首を提供することであ
る。
(Object of the Invention) An object of the present invention is to provide an automatic focus detection neck device that solves the above-mentioned problems and can maintain a good balance between reducing hunting operation and reducing focus detection accuracy.

(発明の特徴) 上記目的を達成するために1本発明は、積分手段により
前回一定積分時間に積分された信号の積分値を記憶し、
該信号に基づいて今回の前記一定積分時間を更新設定し
、更新設定された一定積分時間に従って積分手段に積分
動作を行わせ、得られる積分値から焦点状態を検出する
と同時に、前記更新設定された一定積分時間の長さに応
じて、連続的に変化させ得る合焦不感帯の大きさを行う
ことにより決定する演算手段を設け、以て、前記更新、
:ツ定された一定積分時間の長さが長くなるにつれ、前
記合焦不感帯の大きを大きくするようにしたことを特徴
とする。
(Features of the Invention) In order to achieve the above object, the present invention stores an integral value of a signal that was previously integrated over a constant integration time by an integrating means,
The current fixed integration time is updated based on the signal, the integrating means is caused to perform an integration operation according to the updated fixed integration time, and the focus state is detected from the obtained integral value. A calculation means is provided for determining the size of a focusing dead zone that can be continuously changed according to the length of a certain integration time, and thereby the updating,
A feature of the present invention is that the size of the focusing dead zone increases as the length of the determined constant integration time increases.

(発明の実施例) 以下、本発明を図示の実施例に基づいて詳細に説明する
(Embodiments of the Invention) Hereinafter, the present invention will be described in detail based on illustrated embodiments.

第1図は本発明の一実施例を示すブロック図である。第
6図と同じ部分は同一符号にて表すと共に、その動作の
説明は省略する。
FIG. 1 is a block diagram showing one embodiment of the present invention. The same parts as in FIG. 6 are denoted by the same reference numerals, and explanations of their operations will be omitted.

第2図は第1図に示すマイクロコンピュータ101によ
る駆動用モータ3の制御例をグラフにしたもので、横軸
はδ(=P2A/P^ヤB)を、縦軸はη(=PWM(
*)/100)を、ソレソレトッている。尚点線は前記
第9図に示した駆動用モータ3の制御例を表したもので
ある。直線aは0≦δ≦0.8の望誠における演算式η
=1−1.256を、直線すは0.8≦δ≦1.2の領
域における演算式η==0を、直線Cは1.2≦δ≦2
゜0の領域における演算式η=−1,5+1.256を
、それぞれ図示したものである。
FIG. 2 is a graph showing an example of control of the drive motor 3 by the microcomputer 101 shown in FIG.
*)/100) is soresolet. Note that the dotted line represents an example of control of the drive motor 3 shown in FIG. 9 above. The straight line a is the calculation formula η in the case of 0≦δ≦0.8.
=1-1.256, the straight line C is the calculation formula η==0 in the area of 0.8≦δ≦1.2, and the straight line C is 1.2≦δ≦2.
The calculation formulas η=−1, 5+1.256 in the region of 0° are illustrated.

第3図はマイクロコンピュータ101内における不感帯
増加係数σの算出例をグラフにしたもので、横軸はTy
l (msec)を、縦軸は不感帯増加係数σを、それ
ぞれとっている、直線dは0≦Tn≦28 (msec
)の領域における不感帯増加係数σ(=0)を、直線e
は28 (msec)≦Tnの領域における不感帯増加
係数σ(=−0,3192+0.0114Tn)を、そ
れぞれ図示したものである。
FIG. 3 is a graph showing an example of calculating the dead zone increase coefficient σ in the microcomputer 101, and the horizontal axis is Ty
l (msec) and the vertical axis is the dead zone increase coefficient σ, respectively. The straight line d is 0≦Tn≦28 (msec
), the dead zone increase coefficient σ (=0) in the region of
are graphs of the dead zone increase coefficient σ (=-0,3192+0.0114Tn) in the region of 28 (msec)≦Tn.

ここで、前記第2図は不感帯増加係数σが「0」の時の
δとηの関係を示したものである。
Here, FIG. 2 shows the relationship between δ and η when the dead zone increase coefficient σ is “0”.

第4図はcrk、oの時(2g (tasec)< T
 nの時)のδとηの関係の一例をグラフにしたもので
ある。直線fは0≦δ≦(1−σ)/1.25の領域に
おける演算式η:1−σ−1,256を、直線gは(1
−σ)/1.25≦δ≦(1,5+σ)/1.25の領
域における演算式η=0を、直線りは(1,5+σ)/
1.25≦δ≦2.0の領域における演算式η=−1,
5−δ+1.256を、それぞれ図示したものである。
Figure 4 shows when crk, o (2g (tasec) < T
This is a graph showing an example of the relationship between δ and η (when n). The straight line f is based on the calculation formula η:1-σ-1,256 in the area of 0≦δ≦(1-σ)/1.25, and the straight line g is based on (1
-σ)/1.25≦δ≦(1,5+σ)/1.25.
Arithmetic formula η=-1 in the area of 1.25≦δ≦2.0,
5-δ+1.256, respectively.

この図かられかるように、不感帯増加係数σは和信号(
A+B)と信号2Aの積分時間であるTn時間の長さに
応じて不感帯の大きさを変化させる働きをもっている。
As can be seen from this figure, the dead zone increase coefficient σ is the sum signal (
It has the function of changing the size of the dead zone according to the length of the Tn time which is the integration time of A+B) and the signal 2A.

次に第5図のフローチャートを用いて動作の説明を行う
、T1時間和信号(A+B)及び信号2Aの積分を行い
、パルス数P2AとpAリ とを得たら(ステップ■〜
■)、マイクロコンピュータ101はまずP2^/FA
+うなる演算を行ってδを求め(ステップ■)1次いで
前記和信号(A+B)及び信号2Aの積分時間であるT
、時間がO≦T、≦28 (mgec)の関係にあるか
否かを判断する(ステー、プ■)。その結果、0≦T1
≦28 (mseC)の関係にあると判断した場合には
、不感帯増加係数σをrQJとして、前記式より求まる
δに基づいてηを演算、例えばO≦δ≦0.8の領域で
ある時には、η=1−1.258なる演算を行ってηを
求め(ステップ(fD) 、該η値の従った、すなわち
第2図に従った駆動用モータ3の制御を行う(ステップ
O)、このような場合における不感帯の大きさは第2図
直線すで示されるように、0.8≦δ≦1.2である。
Next, the operation will be explained using the flowchart in FIG. 5. After integrating the T1 time sum signal (A+B) and signal 2A and obtaining the number of pulses P2A and pA,
■), the microcomputer 101 first uses P2^/FA
+ beat calculation is performed to find δ (step ■) 1. Next, T is the integration time of the sum signal (A+B) and signal 2A.
, it is determined whether or not the time is in the relationship O≦T,≦28 (mgec) (Step 2). As a result, 0≦T1
If it is determined that the relationship is ≦28 (mseC), the dead zone increase coefficient σ is set as rQJ, and η is calculated based on δ obtained from the above formula. For example, when the relationship is O≦δ≦0.8, η is calculated by calculating η=1-1.258 (step (fD)), and the drive motor 3 is controlled in accordance with the η value, that is, in accordance with FIG. 2 (step O). The size of the dead zone in this case is 0.8≦δ≦1.2, as shown by the straight line in FIG.

tた、28 (msec)≦T1の関係にあると判断し
た場合には、σ=−0,3192+0.0114T1な
るディジタル演算式より不感帯増加係数σを算出し、前
記各式より求まるδとσとに基づいてηを演算、例えば
O≦δ≦(1−σ) /1 、25の領域である時には
、η=1−σ−1.25δなる演算を行ってηを求め(
ステップ@)、該η値の従った、すなわち例えば第4図
に従った駆動用モータ3の制御を行う(ステップ◎)、
なお第4図には、T、時間が約50m5ecである場合
を想定しており、よって不感帯増加係数σは「0.25
」であり、このような場合における不感帯の大きさは直
線gで示されるように、0.6≦δ≦1.4まで変化す
ることになる。
In addition, if it is determined that there is a relationship of 28 (msec)≦T1, the dead zone increase coefficient σ is calculated from the digital calculation formula σ=-0,3192+0.0114T1, and δ and σ found from the above formulas are calculated. Calculate η based on, for example, O≦δ≦(1-σ) /1, when in the region of 25, calculate η by calculating η=1-σ-1.25δ (
Step @), controlling the drive motor 3 according to the η value, for example, according to FIG. 4 (Step ◎),
In addition, in Fig. 4, it is assumed that T and time are approximately 50 m5ec, so the dead zone increase coefficient σ is "0.25
'', and the size of the dead zone in such a case changes to 0.6≦δ≦1.4, as shown by the straight line g.

本実施例によれば、和信号(A+B)及び信号2Aの積
分時間(T n時間)が長くなるにつれ、不感帯の幅が
大きくなるように、即ち積分時間の長さに応じて合焦近
傍の不感帯の大きさを連続的に変化させて決定するよう
にしたから、被写体の反射率が低かったり、被写体が遠
距離にある様な場合等におけるハンチング動作の軽減と
焦点検出精度の低下をきわめてバランスよく保つことが
可能となる。
According to this embodiment, as the integration time (Tn time) of the sum signal (A+B) and signal 2A becomes longer, the width of the dead zone becomes larger. Since the size of the dead zone is determined by continuously changing the size, it is possible to achieve a perfect balance between reducing hunting operation and reducing focus detection accuracy when the reflectance of the subject is low or the subject is far away. It can be kept well.

(発明と実施例の対応) 本実施例において、投光素子lが本発明の投光手段に、
受光素子4が受光手段に、積分回路14が積分手段に、
マイクロコンピュータ101が演算手段に、それぞれ相
当する。
(Correspondence between the invention and the embodiments) In this embodiment, the light projecting element l is the light projecting means of the present invention,
The light receiving element 4 serves as a light receiving means, the integrating circuit 14 serves as an integrating means,
The microcomputer 101 corresponds to calculation means.

(発明の効果) 以上説明したように、本発明によれば、積分手段により
前回一定積分時間に積分された信号の積分値を記憶し、
該信号に基づいて今回の前記一定積分時間を更新設定し
、更新設定された一定積分時間に従って積分手段に積分
動作を行わせ、得られる積分値から焦点状態を検出する
と同時に、前記更新設定された一定積分時間の長さに応
じて、連続的に変化させ得る合焦不感帯の大きさを決定
する演算手段を設け、以て、前記更新設定された一定積
分時間の長さが長くなるにつれ、前記合焦不感帯の大き
を大きくするようにしたから、ハンチング動作の軽減と
焦点検出精度の低下をきわめてバランスよく保つことが
できる。
(Effects of the Invention) As explained above, according to the present invention, the integral value of the signal that was previously integrated over a constant integration time by the integrating means is stored,
The current fixed integration time is updated based on the signal, the integrating means is caused to perform an integration operation according to the updated fixed integration time, and the focus state is detected from the obtained integral value. Calculating means is provided for determining the size of a focusing dead zone that can be continuously changed according to the length of the constant integration time, so that as the length of the updated constant integration time becomes longer, By increasing the size of the focusing dead zone, it is possible to maintain a very good balance between reducing hunting operation and reducing focus detection accuracy.

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

第1図は未発゛明の一実施例を示すブロック図、第2図
は同じく駆動用モータの制御例を説明する図、第3図は
同じく不感帯増加係数の算出例を説明する図、第4図は
同じく駆動用モータの制御例を説明する図、第5図は同
じくフローチャート、同じくそのフローチャート、第9
図は第6図のマイクロコンピュータによる駆動用モータ
の制御例を説明する図、第10図は外光等の影響を受け
た場合の積分出力を説明する図である。 l・・・・・・投光素子、4・・・・・・受光素子、7
・・・・・・センサアンプ、14・・・・・・積分回路
、101・・・・・・マイクロコンピュータ、A、B・
・・・・・信号、σ・・・・・・不感帯増加係数、Tn
・・・・・・積分時間。 特許出願人  キャノン株式会社 代  理  人   中   村     稔第3図 第9図 第1o図
FIG. 1 is a block diagram showing an embodiment that has not yet been developed, FIG. 2 is a diagram similarly explaining an example of controlling the drive motor, FIG. 3 is a diagram similarly explaining an example of calculating the dead zone increase coefficient, and FIG. 4 is a diagram explaining an example of controlling the drive motor, FIG. 5 is a flowchart, FIG. 9 is a flowchart, and FIG.
The figure is a diagram for explaining an example of control of the drive motor by the microcomputer in FIG. 6, and FIG. 10 is a diagram for explaining the integral output when affected by external light or the like. l... Light projecting element, 4... Light receiving element, 7
......Sensor amplifier, 14...Integrator circuit, 101...Microcomputer, A, B.
... Signal, σ ... Dead band increase coefficient, Tn
...Integration time. Patent Applicant Canon Co., Ltd. Agent Minoru Nakamura Figure 3 Figure 9 Figure 1o

Claims (1)

【特許請求の範囲】 1、対象物へ向けて光を投光する投光手段と、対象物か
らの反射光を受け、対象物の距離に依存して相対的に変
化する2種の信号を出力する受光手段と、該受光手段か
らの信号を積分する積 分手段とを備えた自動焦点検出装置において、前記積分
手段により前回一定積分時間に積分された信号の積分値
を記憶し、該信号に基づいて今回の前記一定積分時間を
更新設定し、更新設定された一定積分時間に従って前記
積分手段に積分動作を行わせ、得られる積分値から焦点
状態を検出すると同時に、前記更新設定された一定積分
時間の長さに応じて、連続的に変化させ得る合焦不感帯
の大きさを決定する演算手段を設けたことを特徴とする
自動焦点検出回路。
[Claims] 1. A light projecting means that projects light toward an object, and a light projector that receives reflected light from the object and generates two types of signals that relatively change depending on the distance of the object. In an automatic focus detection device comprising a light receiving means for outputting light and an integrating means for integrating a signal from the light receiving means, an integral value of a signal that was previously integrated over a predetermined integration time by the integrating means is stored, and The current constant integration time is updated based on the updated constant integration time, the integration means is caused to perform an integration operation according to the updated constant integration time, and the focus state is detected from the obtained integral value.At the same time, the updated constant integration time is An automatic focus detection circuit characterized by being provided with arithmetic means for determining the size of a focusing dead zone that can be continuously changed according to the length of time.
JP61020080A 1986-02-03 1986-02-03 Automatic focus detecting device Pending JPS62178914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61020080A JPS62178914A (en) 1986-02-03 1986-02-03 Automatic focus detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61020080A JPS62178914A (en) 1986-02-03 1986-02-03 Automatic focus detecting device

Publications (1)

Publication Number Publication Date
JPS62178914A true JPS62178914A (en) 1987-08-06

Family

ID=12017118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61020080A Pending JPS62178914A (en) 1986-02-03 1986-02-03 Automatic focus detecting device

Country Status (1)

Country Link
JP (1) JPS62178914A (en)

Similar Documents

Publication Publication Date Title
JPS6345564B2 (en)
JPS58132733A (en) Automatic focusing camera provided with auxiliary illuminator
US5589904A (en) Camera which performs motion compensation for sequential photographs by continuously detecting motion until the final photograph is taken
JPS62178914A (en) Automatic focus detecting device
JPH0961913A (en) Camera system
JPS5968713A (en) Device for automatically adjusting focal point of camera
JPS61240108A (en) Range finding device
JPS59220708A (en) Automatic focus detector
JPS61240109A (en) Range finding device
JP3001289B2 (en) Auto focus camera
JP2731159B2 (en) Camera multipoint ranging device
JP3749638B2 (en) Ranging device
JP3590815B2 (en) Image stabilization camera
JP2528116B2 (en) Auto exposure camera
JP3140454B2 (en) Moving object ranging device
JP3050949B2 (en) Auto focus camera
JPS60259907A (en) Distance detector with deviation detecting function
JPS6262312A (en) Automatic focus adjusting device
JPH05216087A (en) Camera with moving body detecting device
JPS59228213A (en) Automatic focus detector
JPH07104156B2 (en) Distance measuring device
JPS61240110A (en) Range finding device
JPH0339283B2 (en)
JPS61240113A (en) Range finding device
JPH11174511A (en) Optical device provided with image blur correcting function