JPH04277709A - Range-finder for passive type automatic focusing device - Google Patents

Range-finder for passive type automatic focusing device

Info

Publication number
JPH04277709A
JPH04277709A JP6561791A JP6561791A JPH04277709A JP H04277709 A JPH04277709 A JP H04277709A JP 6561791 A JP6561791 A JP 6561791A JP 6561791 A JP6561791 A JP 6561791A JP H04277709 A JPH04277709 A JP H04277709A
Authority
JP
Japan
Prior art keywords
zero
line sensor
parts
circuit
data
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
JP6561791A
Other languages
Japanese (ja)
Inventor
Minoru Ishiguro
石 黒  稔
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.)
Fujinon Corp
Original Assignee
Fuji Photo Optical Co Ltd
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 Fuji Photo Optical Co Ltd filed Critical Fuji Photo Optical Co Ltd
Priority to JP6561791A priority Critical patent/JPH04277709A/en
Priority to US07/846,166 priority patent/US5189461A/en
Publication of JPH04277709A publication Critical patent/JPH04277709A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To offer a range-finder for an automatic focusing device which can rapidly measure a distance to an object with high accuracy and whose number of parts is reduced as far as possible in order to surely focus even when plural objects exist. CONSTITUTION:One line sensor is divided to three parts 10b-30b, each part acquisitions the object, the output signal of the line sensor with respect to brightness distribution is digitally converted, a zero cross point for secondary difference is arithmetically calculated and detected, and data concerning the zero cross are stored by complying with the three parts 10b-30b, and the stored data are read out one by one. As to a zero cross behavior with respect to these three parts of the line sensor, one of the three parts is set as a reference and the other two are appropriately moved, so that the identified point of the zero cross behavior of the three parts 10b-30b is detected, and the distance to the object can be measured based on the moved amount of the zero cross behavior of the two parts at the time of identifying.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、被写体からの光を受
けて該被写体までの距離を測定し、該測定結果に基づい
て撮影レンズが合焦するように焦点を調節するパッシブ
型オートフォーカス装置の、被写体までの距離を測定す
るための測距装置に関する。
[Industrial Application Field] This invention is a passive autofocus device that receives light from a subject, measures the distance to the subject, and adjusts the focus of the photographic lens based on the measurement results. The present invention relates to a distance measuring device for measuring the distance to a subject.

【0002】0002

【従来の技術】オートフォーカス装置は、カメラなどの
撮影距離を自動的に測定し、その測距結果に基づいて撮
影レンズを調節してピントを合わせる装置で、このオー
トフォーカス装置によって誰もが写真撮影をより手軽に
楽しめるようになった。このオートフォーカス装置には
種々の形式のものが開発されているが、主なものとして
三角測量法による測距法がある。この三角測量法による
ものに、カメラに設けられた受光センサで被写体からの
光を受けて撮影距離を測定するパッシブ型のものがある
[Prior Art] An autofocus device is a device that automatically measures the shooting distance of a camera, etc., and adjusts the shooting lens based on the distance measurement result to focus. Now you can enjoy shooting more easily. Various types of autofocus devices have been developed, but the main one is a distance measurement method using triangulation. Among the triangulation methods, there is a passive type that uses a light-receiving sensor installed in the camera to receive light from the subject and measure the shooting distance.

【0003】この種のパッシブ型測距装置のうちには2
個の受光センサを配設したものがある。この2個の受光
センサからなる測距装置では、2つの被写体が存在する
場合の測定結果からは被写体の存在態様が2通りに考え
られることになってしまい、確実な測距を行なえずピン
トのずれた画像となってしまうおそれがある。
There are two types of passive distance measuring devices of this type.
Some devices are equipped with several light-receiving sensors. With this distance measuring device consisting of two light-receiving sensors, the measurement result when two objects exist means that the objects can exist in two ways, making it impossible to measure the distance reliably and making it difficult to focus. There is a risk that the image will be shifted.

【0004】このため、確実な測距を行なって鮮明な画
像を得ることができるように、本願出願人は3個の受光
素子列からなる測距機構を既に提案した(特願平1−1
77382号)。この測距機構による測距原理を図12
と図13に基づいて説明する。測距機構は基準受光セン
サ1と第1受光センサ2、第2受光センサ3とからなり
、これら受光センサ1、2、3は、それぞれ結像レンズ
1a、2a、3aと受光素子列1b、2b、3bとから
構成され、被写体像が結像レンズ1a、2a、3aを透
過して受光素子列1b、2b、3b上に結像するように
してある。また、図12は1つの被写体Pが存在する場
合を示している。そして、基準となる受光素子列1bに
よって検出された被写体Pの輝度分布に関する出力信号
P0 の、基準受光センサ1の光軸T0 からの変位量
をx0 、第1受光素子列2bによって検出された被写
体Pの輝度分布に関する出力信号P1 の、第1受光セ
ンサ2の光軸T1 からの変位量をx1 、第2受光素
子列3bによって検出された被写体Pの輝度分布に関す
る出力信号P2 の、第2受光センサ3の光軸T2 か
らの変位量をx2 とする。これらの変位量x0、x1
、x2 は、受光素子列1b、2b、3bによって検出
された被写体像の輝度分布に関する位相差を表わす。そ
して、光軸T0、T1、T2 のそれぞれの間隔をB、
結像レンズ1a、2a、3aと受光素子列1b、2b、
3bの受光面との間隔をA、結像レンズ1a、2a、3
aから被写体Pまでの距離をLp、光軸T0から被写体
Pまでの距離をXとすると、三角測量の原理から、
[0004] Therefore, in order to perform reliable distance measurement and obtain a clear image, the applicant of the present application has already proposed a distance measurement mechanism consisting of three light-receiving element rows (Japanese Patent Application No. 1999-1-1).
No. 77382). Figure 12 shows the principle of distance measurement using this distance measurement mechanism.
This will be explained based on FIG. The distance measuring mechanism consists of a reference light receiving sensor 1, a first light receiving sensor 2, and a second light receiving sensor 3, and these light receiving sensors 1, 2, and 3 have imaging lenses 1a, 2a, and 3a, and light receiving element arrays 1b and 2b, respectively. , 3b, and the object image is transmitted through the imaging lenses 1a, 2a, 3a and formed on the light receiving element arrays 1b, 2b, 3b. Further, FIG. 12 shows a case where one subject P exists. Then, x0 is the amount of displacement of the output signal P0 regarding the luminance distribution of the subject P detected by the reference light receiving element array 1b from the optical axis T0 of the reference light receiving sensor 1, and the subject detected by the first light receiving element array 2b is The amount of displacement of the output signal P1 regarding the brightness distribution of P from the optical axis T1 of the first light receiving sensor 2 is x1, and the second light reception of the output signal P2 regarding the brightness distribution of the subject P detected by the second light receiving element array 3b Let x2 be the amount of displacement of the sensor 3 from the optical axis T2. These displacement amounts x0, x1
, x2 represents a phase difference regarding the brightness distribution of the subject image detected by the light receiving element arrays 1b, 2b, and 3b. Then, the distance between the optical axes T0, T1, and T2 is B,
Imaging lenses 1a, 2a, 3a and light receiving element arrays 1b, 2b,
3b and the light receiving surface is A, and the imaging lenses 1a, 2a, 3
If the distance from a to the subject P is Lp, and the distance from the optical axis T0 to the subject P is X, then from the principle of triangulation,

【数1】X=x0*Lp/A となる。また、光軸T0 を基準にして出力信号の像が
現われた方向の符号を含めて、
[Formula 1] X=x0*Lp/A. Also, including the sign of the direction in which the image of the output signal appeared with respect to the optical axis T0,

【数2】−x1={(B−X)/Lp}*A[Math. 2]-x1={(B-X)/Lp}*A

【数3】x
2={(B+X)/Lp}*Aとなる。これら数2式、
数3式のそれぞれに、数1式を代入すれば、
[Math 3]x
2={(B+X)/Lp}*A. These two formulas,
By substituting formula 1 into each of formula 3, we get

【数4】x1=−{(B/Lp)*A}+x0[Formula 4] x1=-{(B/Lp)*A}+x0

【数5】
x2=(B/Lp)*A+x0となる。
[Math 5]
x2=(B/Lp)*A+x0.

【0005】数4式と数5式とを比較すると、x1、x
2はそれぞれx0 を基準として、
Comparing Equation 4 and Equation 5, x1, x
2 are each based on x0,

【数6】(B/Lp)*A=Xp だけずれていることが分る。したがって、このXp を
求めることにより、
[Equation 6] It can be seen that there is a deviation of (B/Lp)*A=Xp. Therefore, by finding this Xp,

【数7】Lp=A*B/Xp を算出することができる。[Formula 7] Lp=A*B/Xp can be calculated.

【0006】そして、上記Xp を求める操作を図13
に基づいて説明する。(a)は2つの被写体P、Qから
の光を受けた受光素子列1b、2b、3bの被写体像の
輝度分布に関する出力信号を、基準となる出力信号P0
、Q0と比較したもので、(a)に示す状態から(b)
に示すように、出力信号P0、P1、P2が一致するま
で出力信号P1、P2の波形をずらせば、そのずらし量
が上記Xpとなる。すなわちこのときP1とP2 のず
らし量は等しくなるのであるから、受光素子列2bの出
力信号と受光素子列3bの出力信号とを等しい距離だけ
ずらして、3つの信号の波形が一致したとき、これら3
つの信号の波形が同じ被写体Pに関する情報となるので
ある。次に(C)に示すように、出力信号Q1、Q2が
出力信号Q0 と一致する状態までずらせば、該ずらし
量がXqとなる。
FIG. 13 shows the operation for determining the above Xp.
The explanation will be based on. (a) shows output signals related to the brightness distribution of the subject images of the light receiving element arrays 1b, 2b, and 3b that have received light from the two subjects P and Q, and the reference output signal P0.
, compared with Q0, from the state shown in (a) to (b)
If the waveforms of the output signals P1 and P2 are shifted until the output signals P0, P1, and P2 match as shown in FIG. 2, the amount of shift becomes the above Xp. In other words, since the amounts of shift of P1 and P2 are equal at this time, when the output signal of the light receiving element array 2b and the output signal of the light receiving element array 3b are shifted by the same distance and the waveforms of the three signals match, these 3
The waveforms of the two signals become information regarding the same subject P. Next, as shown in (C), if the output signals Q1 and Q2 are shifted until they match the output signal Q0, the amount of shift becomes Xq.

【0007】上述のようにして求められた上記Xp、X
qから前記数7式により、被写体P、Qまでの距離Lp
、Lqが求められることになる。
[0007] The above Xp and X obtained as described above
The distance Lp from q to the objects P and Q using the above formula 7
, Lq are required.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上述し
た従来の測距操作を原理に従って実行すると、基準受光
素子列1bの出力信号と第1受光素子列2bの出力信号
との相関関係を演算し、次いで基準受光素子列1bの出
力信号と第2受光素子列3bの出力信号との相関関係を
演算して、これら基準受光素子列1b、第1受光素子列
2b、第2受光素子列3bの波形の一致を検出すること
になるから、相関演算が多くなって信号処理時間が長く
なってしまう。そのため、測距に要する時間が長くなり
、被写体が動的なものである場合にはピントがずれて撮
影され、画像が不鮮明なものとなってしまうおそれが生
じる。
However, when the conventional distance measuring operation described above is carried out according to the principle, the correlation between the output signal of the reference light receiving element array 1b and the output signal of the first light receiving element array 2b is calculated, Next, the correlation between the output signal of the reference light-receiving element row 1b and the output signal of the second light-receiving element row 3b is calculated, and the waveforms of these reference light-receiving element row 1b, first light-receiving element row 2b, and second light-receiving element row 3b are calculated. , the number of correlation calculations increases and the signal processing time increases. Therefore, the time required for distance measurement increases, and if the subject is dynamic, the subject may be photographed out of focus, resulting in an unclear image.

【0009】そこで、この発明は、3つの受光センサを
有し、信号処理を短時間で行なうことができ、極力鮮明
な画像を得ることができるようにするとともに、部品点
数を極力少なくした測距装置を提供することを目的とし
ている。
Therefore, the present invention has three light receiving sensors, can perform signal processing in a short time, can obtain as clear an image as possible, and has a distance measuring system with a minimum number of parts. The purpose is to provide equipment.

【0010】0010

【課題を解決するための手段】上記の目的のため、この
発明に係るパッシブ型オートフォーカス装置用測距装置
は、1本のラインセンサを3つの部分に分割し、それぞ
れの部分に被写体像を結像させる3つの結像レンズから
なる被写体の輝度分布を捕捉する受光センサと、上記ラ
インセンサの出力信号をデジタル変換し、そのデジタル
値の2次差分を算出する2次差分演算回路と、該2次差
分演算回路の出力信号のゼロクロス点を検出するゼロク
ロス検出回路と、該ゼロクロス検出回路によって得られ
たゼロクロス挙動信号を、上記ラインセンサの上記3つ
の部分について各別に記憶するゼロクロスメモリ回路と
、上記それぞれのゼロクロスメモリ回路に記憶されたゼ
ロクロス挙動信号を比較してこれらの一致を検出する一
致検出回路とからなり、上記ラインセンサの3つ部分の
うちの1つの部分を基準とし該基準の部分から得られた
ゼロクロス挙動信号に対して、他の2つの部分から得ら
れたゼロクロス挙動信号を順次スライドさせてこれらの
ゼロクロス挙動信号の一致を上記一致検出回路により検
出し、該スライド量から被写体までの距離を演算するこ
とを特徴としている。
[Means for Solving the Problems] For the above purpose, a distance measuring device for a passive autofocus device according to the present invention divides one line sensor into three parts and displays a subject image in each part. a light-receiving sensor that captures the brightness distribution of a subject, which is composed of three imaging lenses to form an image; a second-order difference calculation circuit that digitally converts the output signal of the line sensor and calculates a second-order difference between the digital values; a zero-crossing detection circuit that detects a zero-crossing point of the output signal of the second-order difference calculation circuit; a zero-crossing memory circuit that separately stores the zero-crossing behavior signal obtained by the zero-crossing behavior signal for each of the three parts of the line sensor; a coincidence detection circuit that compares the zero-crossing behavior signals stored in each of the zero-crossing memory circuits and detects a coincidence; The zero-crossing behavior signals obtained from the other two parts are sequentially slid relative to the zero-crossing behavior signal obtained from the above, and the matching of these zero-crossing behavior signals is detected by the coincidence detection circuit, and the distance from the sliding amount to the subject is detected. It is characterized by calculating the distance between.

【0011】[0011]

【作用】上記受光センサを構成する受光素子列によって
被写体輝度分布に応じた出力電圧が得られ、この出力電
圧の2次差分分布はゼロレベルを境に挙動する。この挙
動のゼロクロス点は、被写体の同一部分に関する輝度分
布に対しては上記ラインセンサの3つの部分について所
定の基準部分から適宜ずれた状態で等しくなる。
[Operation] An output voltage corresponding to the brightness distribution of the subject is obtained by the array of light receiving elements constituting the light receiving sensor, and the quadratic difference distribution of this output voltage behaves around the zero level. The zero-crossing points of this behavior are the same for the three parts of the line sensor, with appropriate deviations from a predetermined reference part, for the luminance distribution regarding the same part of the object.

【0012】このずれた量は、上記一致検出回路でゼロ
クロス挙動の信号波形をスライドさせて検出すればスラ
イド量として得られることになる。
[0012] This amount of deviation can be obtained as a sliding amount by sliding and detecting the signal waveform of zero-crossing behavior in the coincidence detection circuit.

【0013】そして、このスライド量から三角測量法に
よって被写体までの距離を算出することができる。
[0013] Then, the distance to the subject can be calculated from this slide amount by triangulation.

【0014】[0014]

【実施例】以下、図示した実施例に基づいて、この発明
に係るオートフォーカス装置用測距装置を具体的に説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The distance measuring device for an autofocus device according to the present invention will be specifically explained below based on the illustrated embodiments.

【0015】受光センサ10、20、30は適宜数の画
素を並設した受光素子列からなる1本のラインセンサと
3つの結像レンズとが組合わされて構成されており、図
2に示すようにカメラの前面には3つの結像レンズ10
a、20a、30a が配設され、被写体から発せられ
た光はこれらの結像レンズ10a、20a、30a を
透過して後方に配設されたラインセンサ8の対応する部
分に結像する。したがって、ラインセンサ8は3つの部
分に分割されて構成され、それぞれラインセンサ中央部
10b 、ラインセンサ右部20b、ラインセンサ左部
30bとしてある。またこれら受光センサ10、20、
30はそれぞれ中央部センサ10、右側センサ20、左
側センサ30とされており、右側センサ20と左側セン
サ30のそれぞれの光軸20c、30cは中央部センサ
10の光軸10c を中心として対称の位置にある。
The light-receiving sensors 10, 20, and 30 are constructed by combining one line sensor consisting of a row of light-receiving elements in which an appropriate number of pixels are arranged in parallel, and three imaging lenses, as shown in FIG. There are three imaging lenses 10 on the front of the camera.
a, 20a, and 30a are disposed, and light emitted from the subject passes through these imaging lenses 10a, 20a, and 30a, and forms an image on a corresponding portion of the line sensor 8 disposed at the rear. Therefore, the line sensor 8 is divided into three parts, each of which is a central part 10b of the line sensor, a right part 20b of the line sensor, and a left part 30b of the line sensor. In addition, these light receiving sensors 10, 20,
30 are the center sensor 10, the right sensor 20, and the left sensor 30, respectively, and the optical axes 20c and 30c of the right sensor 20 and the left sensor 30 are located at symmetrical positions with respect to the optical axis 10c of the center sensor 10. It is in.

【0016】上記ラインセンサ8には、図1に示すよう
に、センサドライバ11からの駆動信号が入力され、ラ
インセンサ8は該駆動信号に基づいて被写体からの光の
捕捉を開始する。また、センサドライバ11は駆動制御
信号線40a によって制御回路40に接続され、制御
回路40から出力される駆動制御信号によって制御され
る。
As shown in FIG. 1, a drive signal from a sensor driver 11 is input to the line sensor 8, and the line sensor 8 starts capturing light from an object based on the drive signal. Further, the sensor driver 11 is connected to the control circuit 40 through a drive control signal line 40a, and is controlled by a drive control signal output from the control circuit 40.

【0017】他方上記ラインセンサ8の出力端子には、
図1に示すように、A/Dコンバータ9が接続されて、
ラインセンサ8の出力信号をデジタル変換している。こ
のA/Dコンバータ9の出力側には、2次差分演算回路
12が接続されており、該2次差分演算回路12によっ
てラインセンサ8で得られた被写体の輝度分布信号の2
次差分を演算する。この2次差分演算回路12は図3に
示すようにA/Dコンバータ9の出力信号ADをクロッ
クパルスφ2に同期してDフリップフロップによる記憶
回路12a、12bで順次記憶し、
On the other hand, the output terminal of the line sensor 8 has
As shown in FIG. 1, the A/D converter 9 is connected to
The output signal of the line sensor 8 is digitally converted. A second-order difference calculation circuit 12 is connected to the output side of the A/D converter 9, and the second-order difference calculation circuit 12 converts the luminance distribution signal of the object obtained by the line sensor 8 into two.
Compute the order difference. As shown in FIG. 3, this secondary difference calculation circuit 12 sequentially stores the output signal AD of the A/D converter 9 in storage circuits 12a and 12b using D flip-flops in synchronization with the clock pulse φ2.

【数8】 DIFF(n) =AD(n−2)−2*AD(n−1
)+AD(n)を演算することにより、2次差分を求め
る。また、このときのDIFFの値が正負いずれの符号
(SIGN)であるかも求められる。
[Formula 8] DIFF(n) =AD(n-2)-2*AD(n-1
)+AD(n) to obtain the second-order difference. It is also determined whether the value of DIFF at this time has a positive or negative sign (SIGN).

【0018】上記2次差分演算回路12の出力信号は、
図1に示すように、ゼロクロス検出回路13に入力され
ており、2次差分演算回路12で得られた2次差分のゼ
ロクロス点を検出する。図4に示すように、このゼロク
ロス検出回路13のDフリップフロップ13a に2次
差分演算回路12の符号出力SIGNが入力されており
、該符号出力SIGNとDフリップフロップ13aの反
転Q端子とがAND回路13bに入力され、該符号出力
SIGNのインバータ13cを介した出力信号とフリッ
プフロップ13aのQ端子とがAND回路13d に入
力されている。
The output signal of the second-order difference calculation circuit 12 is
As shown in FIG. 1, the signal is input to a zero-cross detection circuit 13, which detects the zero-cross point of the second-order difference obtained by the second-order difference calculation circuit 12. As shown in FIG. 4, the sign output SIGN of the second-order difference calculation circuit 12 is input to the D flip-flop 13a of this zero-cross detection circuit 13, and the sign output SIGN and the inverted Q terminal of the D flip-flop 13a are ANDed. The output signal of the code output SIGN, which is inputted to the circuit 13b and passed through the inverter 13c, and the Q terminal of the flip-flop 13a are inputted to the AND circuit 13d.

【0019】そして、図5のタイムチャートに示すよう
に、ラインセンサ8の出力信号VinがA/Dコンバー
タ9に入力されデジタル変換されて出力信号ADが得ら
れる。この出力信号ADが2次差分演算回路12に入力
されるとクロックパルスφ2に同期して信号DIFFと
符号信号SIGNとが得られる。この符号信号SIGN
がゼロクロス検出回路13に入力されると、クロックパ
ルスφ2に同期して、AND回路13b からは、符号
信号SIGNがLからHに変化したときに立上がるパル
スP−ZEROがゼロクロス信号として出力され、AN
D回路13d からは、符号信号SIGNがHからLに
変化したときに立上がるパルスN−ZEROがゼロクロ
ス信号として出力される。すなわち、パルスP−ZER
Oは2次差分信号DIFFが正から負に変化することに
よってゼロクロスしたときに立上がり、パルスN−ZE
ROは2次差分信号DIFFが負から正に変化してゼロ
クロスしたときに立上がる信号となる。
As shown in the time chart of FIG. 5, the output signal Vin of the line sensor 8 is input to the A/D converter 9 and digitally converted to obtain the output signal AD. When this output signal AD is input to the secondary difference calculation circuit 12, a signal DIFF and a code signal SIGN are obtained in synchronization with the clock pulse φ2. This code signal SIGN
When P-ZERO is input to the zero-cross detection circuit 13, the AND circuit 13b outputs a pulse P-ZERO that rises when the code signal SIGN changes from L to H as a zero-cross signal in synchronization with the clock pulse φ2. AN
The D circuit 13d outputs a pulse N-ZERO that rises when the code signal SIGN changes from H to L as a zero-cross signal. That is, pulse P-ZER
O rises when the secondary difference signal DIFF changes from positive to negative and crosses zero, and pulse N-ZE
RO becomes a signal that rises when the secondary difference signal DIFF changes from negative to positive and crosses zero.

【0020】上記ゼロクロス検出回路13によって得ら
れたゼロクロス挙動の信号波形が、ラインセンサ中央部
10bに対応した部分とラインセンサ右部20bに対応
した部分、ラインセンサ30b に対応した部分とに分
割されて、各別にそれぞれゼロクロスメモリ回路14、
24、34に入力されて記憶される。このときゼロクロ
ス挙動は、ラインセンサ8の右部20bと左部30bで
は画素位置に対応してアドレス演算回路25、35から
出力されるアドレスと対応して記憶され、ラインセンサ
中央部10b では第1カウンタ50のカウント信号(
COUNTER1)に応じて記憶される。すなわち、ア
ドレス演算回路25、35には第1カウンタ50のカウ
ント信号(COUNTER1)が入力され、中央部メモ
リ回路14にはカウント信号(COUNTER1)が入
力されて順次インクリメントしながら、中央部メモリ回
路14では、
The signal waveform of the zero-crossing behavior obtained by the zero-crossing detection circuit 13 is divided into a portion corresponding to the center portion 10b of the line sensor, a portion corresponding to the right portion 20b of the line sensor, and a portion corresponding to the line sensor 30b. and a zero-cross memory circuit 14, respectively.
24 and 34 and are stored. At this time, the zero crossing behavior is stored in correspondence with the addresses output from the address calculation circuits 25 and 35 in correspondence with the pixel positions in the right part 20b and left part 30b of the line sensor 8, and in the center part 10b of the line sensor 8, Count signal of counter 50 (
COUNTER1). That is, the count signal (COUNTER1) of the first counter 50 is input to the address calculation circuits 25 and 35, and the count signal (COUNTER1) is input to the central memory circuit 14, and the central memory circuit 14 is sequentially incremented. So,

【数9】ADDRESS=COUNTER1右側メモリ
回路24では、
[Equation 9] ADDRESS=COUNTER1 In the right memory circuit 24,

【数10】ADDRESS=COUNTER1左側メモ
リ回路34では、
[Formula 10] ADDRESS=COUNTER1 In the left side memory circuit 34,

【数11】ADDRESS=COUNTER1に従って
各画素に応じてそれぞれのアドレスに記憶される。
[Formula 11] According to ADDRESS=COUNTER1, each pixel is stored at a respective address.

【0021】また、上記アドレス演算回路25、35に
は第2カウンタ60のカウント信号(COUNTER2
)が入力されており、該第2カウンタ60および前記第
1カウンタ50は制御回路40の出力信号に基づいてカ
ウントアップとリセットとが行なわれる。この第2カウ
ンタ60は、後述するように、ゼロクロスメモリ回路2
4、34からデータの読み出しを行なう場合にアドレス
をインクリメントする。また、アドレス演算回路25、
35には制御回路40からアドレス処理情報が入力され
、該アドレス処理情報に基づいてアドレス演算回路25
、35からゼロクロスメモリ回路24、34に対して所
定の書込み信号と読み出し信号とが出力される。
The address calculation circuits 25 and 35 also receive a count signal (COUNTER2) of the second counter 60.
), and the second counter 60 and the first counter 50 are counted up and reset based on the output signal of the control circuit 40. This second counter 60 is connected to the zero cross memory circuit 2, as will be described later.
When reading data from 4 and 34, the address is incremented. Further, the address calculation circuit 25,
35 receives address processing information from the control circuit 40, and based on the address processing information, the address calculation circuit 25
, 35 output predetermined write signals and read signals to the zero-cross memory circuits 24, 34.

【0022】そして、上記ゼロクロスメモリ回路14、
24、34の出力側には一致検出回路70が接続されて
おり、該一致検出回路70の出力側は制御回路40に接
続されている。
[0022]The above zero-cross memory circuit 14,
A coincidence detection circuit 70 is connected to the output sides of 24 and 34, and the output side of the coincidence detection circuit 70 is connected to the control circuit 40.

【0023】また、第1カウンタ50のカウント信号は
データメモリ回路80のアドレスポート81に入力され
、第2カウンタ60のカウント信号は該データメモリ回
路80の距離データポート82に入力されている。さら
に第1カウンタ50と第2カウンタ60のカウント信号
は、いずれも制御回路40に入力されている。また、制
御回路40からデータメモリ回路80に対してデータメ
モリ信号が出力され、該信号に基づいてアドレスデータ
と距離データとがデータメモリ回路80に記憶される。
The count signal of the first counter 50 is input to the address port 81 of the data memory circuit 80, and the count signal of the second counter 60 is input to the distance data port 82 of the data memory circuit 80. Furthermore, the count signals of the first counter 50 and the second counter 60 are both input to the control circuit 40. Further, a data memory signal is output from the control circuit 40 to the data memory circuit 80, and address data and distance data are stored in the data memory circuit 80 based on the signal.

【0024】次に図6ないし図9に基づいて、被写体の
輝度情報のメモリの書き込みと読み出しの手順を説明す
る。
Next, based on FIGS. 6 to 9, a procedure for writing and reading luminance information of an object into and from the memory will be explained.

【0025】測距が開始されるとラインセンサ8に電荷
が蓄積され(ステップ601 )、第2カウンタ60が
リセットされ(ステップ602 )、制御回路内の図示
しない読み出し画素数カウンタがリセットされる(ステ
ップ603 )。
When distance measurement is started, charge is accumulated in the line sensor 8 (step 601), the second counter 60 is reset (step 602), and a readout pixel number counter (not shown) in the control circuit is reset ( Step 603).

【0026】ラインセンサ8は1本で構成されているか
ら、まずそのうちのラインセンサ左部30b に関する
部分の最初の画素の読み出しが開始されたか否かが読み
出し画素数カウンタの値により判断され(ステップ60
4 )、当該最初の部分の読み出しが開始されるまで1
画素ずつ出力される(ステップ605 )。当該最初の
部分の読み出しが開始されたならば、第1カウンタ50
がリセットされる(ステップ606 )。そして、ライ
ンセンサ左部30b の1画素に対応したデータを読み
出して(ステップ607 )、読み出されたデータを左
側ゼロクロスメモリ回路34に書き込む(ステップ60
8 )。なお、ステップ607とステップ608との間
でゼロクロス検出が実行される。次いでステップ609
 に進んで全画素について読み出しが完了したか否かを
第1カウンタ50の値により判断し、読み出されていな
い場合にはステップ610 に進んで第1カウンタ50
をカウントアップしたのちステップ607 に戻って1
画素読み出しと左側ゼロクロスメモリ回路34への書き
込みが行なわれる(ステップ608)。そして左側ゼロ
クロスメモリ回路34にデータが書き込まれる際には、
第1カウンタ50のカウント信号に基づいてアドレス演
算回路35からアドレスを指定されてメモリされる。こ
のとき、メモリされるアドレスは、前記数11式に従っ
て指定される。
Since the line sensor 8 is composed of one line sensor, it is first determined whether reading of the first pixel in the portion related to the left part 30b of the line sensor has started based on the value of the readout pixel number counter (step 60
4), 1 until reading of the first part starts.
Each pixel is output (step 605). Once reading of the first part is started, the first counter 50
is reset (step 606). Then, data corresponding to one pixel on the left side of the line sensor 30b is read out (step 607), and the read data is written into the left zero cross memory circuit 34 (step 60).
8). Note that zero cross detection is performed between step 607 and step 608. Then step 609
The process proceeds to step 610, and it is determined based on the value of the first counter 50 whether reading has been completed for all pixels, and if the reading has not been completed, the process proceeds to step 610, where the first counter 50
After counting up, return to step 607 and perform 1
Pixel reading and writing to the left zero cross memory circuit 34 are performed (step 608). When data is written to the left zero cross memory circuit 34,
Based on the count signal of the first counter 50, an address is designated by the address calculation circuit 35 and stored. At this time, the address to be memorized is designated according to Equation 11 above.

【0027】ラインセンサ左部30b の全画素の読み
出しが完了してステップ609 でYESとなると、ス
テップ703 (図7)に進んでラインセンサ中央部1
0b に関する部分の最初の画素の読み出しが開始され
たか否かが読み出し画素数カウンタの値により判断され
、当該最初の部分の読み出しが開始されるまで1画素ず
つ出力される(ステップ704 )。当該最初の部分の
読み出しが開始されたならば第1カウンタ50がリセッ
トされ(ステップ705 )、前記ステップ607から
610と同様に、ラインセンサ中央部10b に関して
、ゼロクロス検出が行なわれながら、1画素ずつの読み
出し(ステップ706)と中央部ゼロクロスメモリ14
への書き込み(ステップ707)、第1カウンタ50の
値によるラインセンサ中央部10b の全画素について
の読み出し完了の判断(ステップ708 )とが第1カ
ウンタ50をカウントアップしながら(ステップ709
 )繰り返される。なお、メモりされるアドレスは、数
9式に従って指定される。
When the reading of all pixels in the left part 30b of the line sensor is completed and the answer is YES in step 609, the process proceeds to step 703 (FIG. 7), where the central part 1 of the line sensor is read out.
Whether reading of the first pixel of the portion related to 0b has started is determined based on the value of the read pixel number counter, and one pixel at a time is outputted until reading of the first portion is started (step 704). Once the reading of the first part is started, the first counter 50 is reset (step 705), and as in steps 607 to 610, the line sensor central part 10b is read out pixel by pixel while zero cross detection is performed. reading (step 706) and central zero cross memory 14
(step 707), and judgment of completion of reading for all pixels of the line sensor central portion 10b based on the value of the first counter 50 (step 708), while counting up the first counter 50 (step 709).
)Repeated. Note that the address to be memorized is specified according to Equation 9.

【0028】ラインセンサ中央部10bの全画素につい
ての読み出しが完了してステップ708においてYES
と判断されると、ステップ803 (図8)に進んで、
1画素ずつ出力しながら(ステップ804)ラインセン
サ右部20bに関する部分の最初の画素の読み出し開始
が読み出し画素数カウンタの値により判断され、当該最
初の部分の読み出しが開始されたならば第1カウンタ5
0がリセットされる(ステップ805 )。そして、ラ
インセンサ左部30bとラインセンサ中央部10bに関
する手順と同様に、ラインセンサ右部20b に関して
、ゼロクロス検出が行なわれながら、1画素ずつの読み
出し(ステップ806)と右側ゼロクロスメモリ24へ
の書き込み(ステップ807)、第1カウンタ50の値
によるラインセンサ右部20b の全画素についての読
み出し完了の判断(ステップ808 )とが第1カウン
タ50をカウントアップしながら(ステップ809 )
繰り返される。右側ゼロクロスメモリ回路24にデータ
が書き込まれる際には、第1カウンタ50のカウント信
号に基づいてアドレス演算回路25から数10式に従っ
て指定されたアドレスにメモリされる。
When the readout of all pixels in the line sensor central portion 10b is completed, the answer is YES in step 708.
If it is determined that
While outputting one pixel at a time (step 804), the start of reading out the first pixel in the part related to the right part 20b of the line sensor is determined by the value of the readout pixel number counter, and if the reading out of the first part has started, the first counter 5
0 is reset (step 805). Then, in the same way as the procedure for the line sensor left part 30b and the line sensor center part 10b, for the line sensor right part 20b, zero cross detection is performed while reading out each pixel (step 806) and writing to the right zero cross memory 24. (Step 807), determination of completion of reading for all pixels of the right side of the line sensor 20b based on the value of the first counter 50 (Step 808), while counting up the first counter 50 (Step 809)
Repeated. When data is written to the right zero cross memory circuit 24, it is stored at an address specified by the address calculation circuit 25 according to Equation 10 based on the count signal of the first counter 50.

【0029】ラインセンサ8の全画素について読み出し
が終了して前記ステップ808 の判定がYESとなれ
ば、ステップ901 (図9)に進んで第1カウンタ5
0をリセットする。そして、ゼロクロスメモリ回路14
、24、34からメモリデータを読み出し(ステップ9
02 )、一致検出回路70にて中央部ゼロクロスメモ
リ回路14と右側ゼロクロスメモリ回路24、左側ゼロ
クロスメモリ回路34のデータが一致するか否かを判断
する(ステップ903)。データが一致している場合に
はステップ904に進んで、当該時における、第1カウ
ンタ50のカウント信号(COUNTER1)の数値を
アドレスデータとして、第2カウンタ60のカウンタ信
号(COUNTER2)の数値を距離データとして、そ
れぞれデータメモリ回路80に書き込む。 上記ステップ903の判定がNOである場合にはステッ
プ905に進んで、ラインセンサ8の中央部10b の
有効な全画素に対応したメモリデータ(基準データ)の
読み出しが完了したか否かを第1カウンタ50の値によ
り判断し、完了していない場合にはステップ906に進
んで第1カウンタ50をカウントアップしたのちステッ
プ902に戻ってステップ905までを実行する。
If the reading of all pixels of the line sensor 8 is completed and the determination in step 808 is YES, the process proceeds to step 901 (FIG. 9) where the first counter 5
Reset to 0. And zero cross memory circuit 14
, 24, and 34 (step 9)
02), the coincidence detection circuit 70 determines whether or not the data of the center zero-cross memory circuit 14, the right zero-cross memory circuit 24, and the left zero-cross memory circuit 34 match (step 903). If the data match, the process proceeds to step 904, where the value of the count signal (COUNTER1) of the first counter 50 at that time is used as address data, and the value of the counter signal (COUNTER2) of the second counter 60 is used as the distance. Each is written to the data memory circuit 80 as data. If the determination in step 903 is NO, the process proceeds to step 905, where a first check is made as to whether reading of memory data (reference data) corresponding to all valid pixels of the central portion 10b of the line sensor 8 has been completed. It is determined based on the value of the counter 50, and if the process has not been completed, the process proceeds to step 906 to increment the first counter 50, and then returns to step 902 and executes steps up to step 905.

【0030】基準データの読み出しが完了したならばス
テップ905からステップ907に進んで、中央部ゼロ
クロスメモリ回路14のデータに対して右側と左側のゼ
ロクロスメモリ回路24、34のデータが規定量シフト
されて上記ステップ901からステップ905までが実
行(シフト読み出し)されたか否かを第2カウンタ60
の値により判断する(ステップ907 )。シフト読み
出しが完了していない場合には、第2カウンタ60をカ
ウントアップしてステップ901 に戻り、ステップ9
02からステップ905を繰り返す。 そして、シフト読み出しが完了した場合にはステップ9
09 に進む。
When the reading of the reference data is completed, the process proceeds from step 905 to step 907, in which the data in the right and left zero cross memory circuits 24 and 34 is shifted by a specified amount with respect to the data in the center zero cross memory circuit 14. The second counter 60 checks whether steps 901 to 905 have been executed (shift read).
The judgment is made based on the value of (step 907). If the shift reading is not completed, the second counter 60 is counted up and the process returns to step 901.
Step 905 is repeated from 02. Then, if the shift read is completed, step 9
Proceed to 09.

【0031】このステップ901からステップ908ま
でにおけるメモリデータの読み出しは、第1カウンタ5
0とアドレス演算回路25、35によって、前記数9式
、数10式、数11式に対応して、中央部ゼロクロスメ
モリ回路14からは、
Reading of memory data from step 901 to step 908 is performed by the first counter 5.
0 and the address arithmetic circuits 25 and 35, the central zero cross memory circuit 14 outputs,

【数12】ADDRESS=COUNTER1右側ゼロ
クロスメモリ回路24からは、
[Formula 12] ADDRESS=COUNTER1 From the right zero cross memory circuit 24,

【数13】 ADDRESS=COUNTER1+COUNTER2
左側ゼロクロスメモリ回路34からは、
[Formula 13] ADDRESS=COUNTER1+COUNTER2
From the left zero cross memory circuit 34,

【数14】   ADDRESS=COUNTER1+S−COUN
TER2に従って読み出される。なお、数14式の中の
Sは定数である。このときの書き込みアドレスと読み出
しアドレスとの関係を図10と図11を参照して説明す
る。
[Formula 14] ADDRESS=COUNTER1+S-COUN
Read according to TER2. Note that S in Equation 14 is a constant. The relationship between the write address and read address at this time will be explained with reference to FIGS. 10 and 11.

【0032】図10(a)は第2カウンタ60のカウン
ト信号が0(COUNTER2=0)のときを示し、こ
のとき第1カウンタ50を0から(W−1)までインク
リメントしながら(ステップ906)、ラインセンサ8
の各部10b、20b、30bの各画素に対応したアド
レスにメモリされたデータを比較してそれらのデータの
一致を検出する。 したがって、COUNTER2=0のときには、ライン
センサ中央部10b とラインセンサ右部20b の画
素ではアドレスが0から(W−1)までインクリメント
され、ラインセンサ左部30b の画素ではアドレスが
Sから(S+W−1)までインクリメントされる。次い
で第2カウンタ60をインクリメントし(ステップ90
8 )、第2カウンタ60のカウンタ信号を1(COU
NTER2=1)とした状態で第1カウンタ50を0か
ら(W−1)までインクリメントしながら(ステップ9
06 )、ラインセンサ8の各部10b、20b、30
b の各画素に対応したアドレスにメモリされたデータ
を比較してそれらのデータの一致を検出する。従って、
COUNR2=1のときには、ラインセンサ中央部10
b に対してはアドレスが0から(W−1)まで、ライ
ンセンサ右部20b に対しては1からWまで、ライン
センサ左部30bに対しては(S−1)から(S+W−
2)までインクリメントされる。すなわち、右側ゼロク
ロスメモリ回路24と左側ゼロクロスメモリ回路34の
メモリデータが、中央部ゼロクロスメモリ回路14のメ
モリデータに対して1画素ずつずれて一致検出が行なわ
れることになる。
FIG. 10A shows a case where the count signal of the second counter 60 is 0 (COUNTER2=0), and at this time, the first counter 50 is incremented from 0 to (W-1) (step 906). , line sensor 8
The data stored in the addresses corresponding to the pixels of each section 10b, 20b, and 30b are compared to detect a match between the data. Therefore, when COUNTER2=0, the addresses of the pixels in the center part 10b of the line sensor and the right part 20b of the line sensor are incremented from 0 to (W-1), and the addresses of the pixels in the left part 30b of the line sensor are incremented from S to (S+W- It is incremented to 1). Next, the second counter 60 is incremented (step 90).
8), the counter signal of the second counter 60 is set to 1 (COU
NTER2=1) while incrementing the first counter 50 from 0 to (W-1) (step 9
06), each part 10b, 20b, 30 of the line sensor 8
The data stored in the address corresponding to each pixel of b are compared to detect a match between the data. Therefore,
When COUNTR2=1, line sensor central part 10
The address is from 0 to (W-1) for line sensor b, from 1 to W for line sensor right part 20b, and from (S-1) to (S+W-) for line sensor left part 30b.
2). That is, the memory data of the right zero-cross memory circuit 24 and the left zero-cross memory circuit 34 are shifted by one pixel with respect to the memory data of the center zero-cross memory circuit 14, and coincidence detection is performed.

【0033】そして、第2カウンタ60をインクリメン
トしながら(ステップ908)、第2カウンタ60のカ
ウント信号がCOUNTER2=Sとなるまで、一致検
出が繰り返される。なお、図11(a)はCOUNTE
R=S−1のときを示し、図11(b)はCOUNTE
R2=Sのときを示している。
Then, while the second counter 60 is incremented (step 908), the coincidence detection is repeated until the count signal of the second counter 60 reaches COUNTER2=S. Note that FIG. 11(a) shows COUNTE
When R=S−1, FIG. 11(b) shows COUNT
This shows the case when R2=S.

【0034】すなわち、ゼロクロスメモリ回路14、2
4、34のメモリデータがゼロクロス点に関して一致し
たときの第2カウンタ60の値が、前記数6式における
ずれ量Xp に相当する。そして、このずれ量がステッ
プ904においてデータメモリ回路80に距離データと
してメモリされることになる。
That is, zero cross memory circuits 14, 2
The value of the second counter 60 when the memory data Nos. 4 and 34 match with respect to the zero-crossing point corresponds to the deviation amount Xp in Equation 6 above. This amount of deviation is then stored in the data memory circuit 80 as distance data in step 904.

【0035】前記ステップ907 で所定のシフト読み
出しの完了が判定されたならばステップ909に進み、
ステップ904でデータメモリ回路80に書き込まれた
距離データが図示しない撮影レンズ駆動装置に出力され
て、撮影レンズが所定の位置まで移動して被写体に合焦
することになる。
If it is determined in step 907 that the predetermined shift readout has been completed, the process proceeds to step 909;
The distance data written in the data memory circuit 80 in step 904 is output to a photographing lens driving device (not shown), and the photographing lens moves to a predetermined position and focuses on the subject.

【0036】[0036]

【発明の効果】以上説明したようにこの発明に係るパッ
シブ型オートフォーカス装置用測距装置によれば、3つ
の部分に分割されたラインセンサで被写体輝度を捕捉し
そのデータから2次差分を演算し、該2次差分のゼロク
ロス点を特徴点としてそのゼロクロスデータを記憶し、
3つ部分のうちの1つの部分から得られたゼロクロスデ
ータを基準として他の2つの部分から得られたゼロクロ
スデータを順次1画素ずつずらしながら3つのデータが
ゼロクロス点に関して一致するか否かを比較して、一致
したときのずらし量を距離データとして被写体までの距
離を演算するようにしたから、相関演算して距離データ
を求めるものに比べて演算処理速度が速くなる。このた
め、動的な被写体を確実に捕捉して素早いピント合わせ
を行なうことができる。しかも、ラインセンサの出力信
号をA/D変換して、上記2次差分をデジタル処理によ
って演算するようにしたから、アナログ処理するものに
比べて、演算処理が簡易となり処理速度をより速くする
ことができる。
[Effects of the Invention] As explained above, according to the distance measuring device for a passive autofocus device according to the present invention, the luminance of the subject is captured by the line sensor divided into three parts, and the second-order difference is calculated from the data. and store the zero-crossing data with the zero-crossing point of the second-order difference as a feature point,
Using the zero-crossing data obtained from one of the three parts as a reference, the zero-crossing data obtained from the other two parts are sequentially shifted one pixel at a time, and comparing whether or not the three data match with respect to the zero-crossing point. Since the distance to the subject is calculated using the shift amount when they match as distance data, the calculation processing speed is faster than when distance data is obtained by correlation calculation. Therefore, it is possible to reliably capture a dynamic subject and perform quick focusing. Moreover, since the output signal of the line sensor is A/D converted and the above-mentioned second-order difference is calculated by digital processing, the calculation process is simpler and the processing speed is faster than when analog processing is performed. Can be done.

【0037】しかも、ラインセンサを1本としこれを3
つに分割して用いるようにしたから、上記2次差分演算
回路とゼロクロス検出回路もそれぞれ1組ずつとなる。 このため、3本のラインセンサを用いる測距装置では、
それぞれのラインセンサに対応して2次差分演算回路と
ゼロクロス検出回路とが3組ずつ配設される構造となる
のに比べて、部品点数を少なくすることができる。
Moreover, with one line sensor, there are three
Since the circuit is divided into two parts, there is one set each of the second-order difference calculation circuit and the zero-cross detection circuit. For this reason, in a distance measuring device that uses three line sensors,
The number of parts can be reduced compared to a structure in which three sets of secondary difference calculation circuits and zero-cross detection circuits are provided for each line sensor.

【0038】加えて、2次差分のゼロクロスデータを比
較するものであるため、ラインセンサ上の被写体輝度分
布のパターンに依存することがないから、高精度に距離
データを取得することができる。
In addition, since zero-cross data of second-order differences are compared, distance data can be obtained with high precision because it does not depend on the pattern of object brightness distribution on the line sensor.

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

【図1】このパッシブ型オートフォーカス装置用測距装
置の回路ブロック図である。
FIG. 1 is a circuit block diagram of a distance measuring device for a passive autofocus device.

【図2】受光センサの概略の構造を示す側面図である。FIG. 2 is a side view showing a schematic structure of a light receiving sensor.

【図3】ラインセンサの出力をA/D変換して、その2
次差分をデジタル処理して演算する2次差分演算回路の
回路ブロック図である。
[Figure 3] A/D conversion of line sensor output, Part 2
FIG. 2 is a circuit block diagram of a second-order difference calculation circuit that digitally processes and calculates a second-order difference.

【図4】2次差分演算回路によって求められた2次差分
信号からゼロクロス点を検出するゼロクロス検出回路の
回路図である。
FIG. 4 is a circuit diagram of a zero-cross detection circuit that detects a zero-cross point from a second-order difference signal obtained by a second-order difference calculation circuit.

【図5】ラインセンサと、A/Dコンバータ、2次差分
演算回路、ゼロクロス検出回路のそれぞれ出力信号のタ
イムチャートである。
FIG. 5 is a time chart of output signals of a line sensor, an A/D converter, a second-order difference calculation circuit, and a zero-cross detection circuit.

【図6】ラインセンサから得られたデータをゼロクロス
メモリ回路に書き込む手順を示すフローチャートであっ
て、ラインセンサの左部に関するものである。
FIG. 6 is a flowchart showing a procedure for writing data obtained from a line sensor into a zero-cross memory circuit, and relates to the left side of the line sensor.

【図7】ラインセンサから得られたデータをゼロクロス
メモリ回路に書き込む手順を示すフローチャートであっ
て、ラインセンサの中央部に関するものである。
FIG. 7 is a flowchart showing a procedure for writing data obtained from a line sensor into a zero-cross memory circuit, and relates to the central portion of the line sensor.

【図8】ラインセンサから得られたデータをゼロクロス
メモリ回路に書き込む手順を示すフローチャートであっ
て、ラインセンサの右部に関するものである。
FIG. 8 is a flowchart showing a procedure for writing data obtained from a line sensor into a zero-cross memory circuit, and relates to the right side of the line sensor.

【図9】ゼロクロスメモリ回路に記憶されたデータの一
致を検出するために、該ゼロクロスメモリ回路から所定
のデータを読み出す手順を示すフローチャートである。
FIG. 9 is a flowchart showing a procedure for reading predetermined data from a zero-cross memory circuit in order to detect coincidence of data stored in the zero-cross memory circuit.

【図10】ゼロクロスメモリ回路に記憶されたデータを
読み出して比較する際の操作手順を説明する図である。
FIG. 10 is a diagram illustrating an operating procedure when reading and comparing data stored in a zero-cross memory circuit.

【図11】ゼロクロスメモリ回路に記憶されたデータを
読み出して比較する際の操作手順を説明する図である。
FIG. 11 is a diagram illustrating an operating procedure when reading and comparing data stored in a zero-cross memory circuit.

【図12】測距原理を示す光路図である。FIG. 12 is an optical path diagram showing the principle of distance measurement.

【図13】測距原理に基づいて測定手順を説明するため
の図で、受光素子列で検出される被写体像の輝度分布に
関する信号図である。
FIG. 13 is a diagram for explaining a measurement procedure based on the distance measurement principle, and is a signal diagram regarding the brightness distribution of a subject image detected by a light receiving element array.

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

8  ラインセンサ 9  A/Dコンバータ 10  受光センサ 20  受光センサ 30  受光センサ 10a  結像レンズ 20a  結像レンズ 30a  結像レンズ 10b  ラインセンサ中央部 20b  ラインセンサ右部 30b  ラインセンサ左部 11  センサドライバ 12  2次差分演算回路 13  ゼロクロス検出回路 14、24、34  ゼロクロスメモリ回路25、35
  アドレス演算回路 40  制御回路 50  第1カウンタ 60  第2カウンタ 70  一致検出回路 80  データメモリ回路
8 Line sensor 9 A/D converter 10 Light receiving sensor 20 Light receiving sensor 30 Light receiving sensor 10a Imaging lens 20a Imaging lens 30a Imaging lens 10b Line sensor center section 20b Line sensor right section 30b Line sensor left section 11 Sensor driver 12 Secondary Difference calculation circuit 13 Zero cross detection circuit 14, 24, 34 Zero cross memory circuit 25, 35
Address calculation circuit 40 Control circuit 50 First counter 60 Second counter 70 Coincidence detection circuit 80 Data memory circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  1本のラインセンサを3つの部分に分
割し、それぞれの部分に被写体像を結像させる3つの結
像レンズからなる被写体の輝度分布を捕捉する受光セン
サと、上記ラインセンサの出力信号をデジタル変換し、
そのデジタル値の2次差分を算出する2次差分演算回路
と、該2次差分演算回路の出力信号のゼロクロス点を検
出するゼロクロス検出回路と、該ゼロクロス検出回路に
よって得られたゼロクロス挙動信号を、上記ラインセン
サの上記3つの部分について各別に記憶するゼロクロス
メモリ回路と、上記それぞれのゼロクロスメモリ回路に
記憶されたゼロクロス挙動信号を比較してこれらの一致
を検出する一致検出回路とからなり、上記ラインセンサ
の3つ部分のうちの1つの部分を基準とし該基準の部分
から得られたゼロクロス挙動信号に対して、他の2つの
部分から得られたゼロクロス挙動信号を順次スライドさ
せてこれらのゼロクロス挙動信号の一致を上記一致検出
回路により検出し、該スライド量から被写体までの距離
を演算することを特徴とするパッシブ型オートフォーカ
ス装置用測距装置。
1. A light-receiving sensor that captures the brightness distribution of a subject, comprising three imaging lenses that divide one line sensor into three parts and form a subject image on each part; Converts the output signal to digital,
A second-order difference calculation circuit that calculates the second-order difference of the digital value, a zero-cross detection circuit that detects the zero-cross point of the output signal of the second-order difference calculation circuit, and a zero-cross behavior signal obtained by the zero-cross detection circuit, It consists of a zero-crossing memory circuit that separately stores the three parts of the line sensor, and a coincidence detection circuit that compares the zero-crossing behavior signals stored in each of the zero-crossing memory circuits and detects their coincidence. One of the three parts of the sensor is used as a reference, and the zero-crossing behavior signals obtained from the other two parts are sequentially slid against the zero-crossing behavior signal obtained from the reference part. A distance measuring device for a passive autofocus device, characterized in that a coincidence of signals is detected by the coincidence detection circuit, and a distance to a subject is calculated from the slide amount.
JP6561791A 1991-03-06 1991-03-06 Range-finder for passive type automatic focusing device Pending JPH04277709A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP6561791A JPH04277709A (en) 1991-03-06 1991-03-06 Range-finder for passive type automatic focusing device
US07/846,166 US5189461A (en) 1991-03-06 1992-03-05 Range finder for passive type autofocussing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6561791A JPH04277709A (en) 1991-03-06 1991-03-06 Range-finder for passive type automatic focusing device

Publications (1)

Publication Number Publication Date
JPH04277709A true JPH04277709A (en) 1992-10-02

Family

ID=13292162

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6561791A Pending JPH04277709A (en) 1991-03-06 1991-03-06 Range-finder for passive type automatic focusing device

Country Status (1)

Country Link
JP (1) JPH04277709A (en)

Similar Documents

Publication Publication Date Title
WO1992009000A1 (en) Device for sensing in-focus position
US5189461A (en) Range finder for passive type autofocussing device
JP3025563B2 (en) Distance measuring device for passive autofocus system
JPH04277709A (en) Range-finder for passive type automatic focusing device
JP2954720B2 (en) Distance measuring device for passive autofocus system
JPS6118912A (en) Focus detecting device
JP2954719B2 (en) Distance measuring device for passive autofocus system
JP2954721B2 (en) Distance measuring device for passive autofocus system
JP2954723B2 (en) Distance measuring device for passive autofocus system
JP2954724B2 (en) Distance measuring device for passive autofocus system
JP2954722B2 (en) Distance measuring device for passive autofocus system
JPH04277710A (en) Range-finder for passive type automatic focusing device
JP2954718B2 (en) Distance measuring device for passive autofocus system
JP3080768B2 (en) Distance measuring device for passive autofocus system
JP3064062B2 (en) Distance measuring device for passive autofocus system
JP3025564B2 (en) Distance measuring device for passive autofocus system
JPH04277708A (en) Range finder for passive type automatic focusing device
US5274415A (en) Range finder for passive type autofocussing device
JP3064063B2 (en) Distance measuring device for passive autofocus system
JP2993754B2 (en) Distance measuring device for passive autofocus system
US5264891A (en) Range finder for passive-type autofocusing device
JP3064064B2 (en) Distance measuring device for passive autofocus system
JPH05107459A (en) Distance measuring device for passive autofocusing apparatus
JP3025565B2 (en) Distance measuring device for passive autofocus system
JPH05107460A (en) Distance measuring device for passive autofocusing apparatus

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000315