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

Range-finder for passive type automatic focusing device

Info

Publication number
JPH04277710A
JPH04277710A JP6561891A JP6561891A JPH04277710A JP H04277710 A JPH04277710 A JP H04277710A JP 6561891 A JP6561891 A JP 6561891A JP 6561891 A JP6561891 A JP 6561891A JP H04277710 A JPH04277710 A JP H04277710A
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
JP6561891A
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 JP6561891A priority Critical patent/JPH04277710A/en
Priority to US07/846,166 priority patent/US5189461A/en
Publication of JPH04277710A publication Critical patent/JPH04277710A/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 much 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, and the output signal of the line sensor with respect to the brightness distribution is digitally converted. The output signal for secondary difference is interpolated, a zero cross point is arithmetically calculated and detected, and data concerning the zero cross are stored by complying with the three parts, and the stored data are read out one by one. As to a zero cross behavior with respect to the three parts 10b-30b of the line sensor, one of the three parts is set as a reference and the other two parts are appropriately moved, so that the identified point of the zero cross behavior of the three parts 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 when they are identified.

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 object 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号)。この測距機構による測距原理を図13
と図14に基づいて説明する。測距機構は基準受光セン
サ1と第1受光センサ2、第2受光センサ3とからなり
、これら受光センサ1、2、3は、それぞれ結像レンズ
1a、2a、3aと受光素子列1b、2b、3bとから
構成され、被写体像が結像レンズ1a、2a、3aを透
過して受光素子列1b、2b、3b上に結像するように
してある。また、図13は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 13 shows the distance measurement principle 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. 13 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[Math. 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 を求める操作を図14
に基づいて説明する。(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. 14 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 interpolates the output signal of the second-order difference calculation circuit to detect zero-crossing points; and a zero-crossing memory that separately stores the zero-crossing behavior signals obtained by the zero-crossing detection circuit for each of 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 a coincidence between the three of the line sensors.
One of the two parts 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, and these zero-crossing behavior signals are matched. is detected by the coincidence detection circuit, and the distance to the subject is calculated from the amount of slide.

【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次差分を求め
る。
[Formula 8] DIFF(n) =AD(n-2)-2*AD(n-1
)+AD(n) to obtain the second-order difference.

【0018】上記2次差分演算回路12の出力信号DI
FFは、図1に示すように、ゼロクロス検出回路13に
入力されており、2次差分演算回路12で得られた2次
差分のゼロクロス点を検出する。ゼロクロス演算回路1
3では、まず図4に示す補間演算回路によって2次差分
信号DIFFが補間される。この補間演算回路では、2
次差分信号DIFFをDフリップフロップによる記憶回
路13a で記憶し、該記憶された値の(−1)倍とN
倍とを求め、N倍されたデータをデータセレクト回路1
3b に入力し、(−1)倍されたデータと2次差分信
号DIFFとを加算したデータを、データセレクト回路
13b の出力データに加算し、該加算されたデータを
データセレクト回路に帰還している。すなわち、補間演
算回路においては、クロックパルスφ3に同期して、
Output signal DI of the second-order difference calculation circuit 12
As shown in FIG. 1, the FF is input to the zero-cross detection circuit 13, and detects the zero-cross point of the second-order difference obtained by the second-order difference calculation circuit 12. Zero cross calculation circuit 1
3, the secondary difference signal DIFF is first interpolated by the interpolation calculation circuit shown in FIG. In this interpolation calculation circuit, 2
The order difference signal DIFF is stored in a storage circuit 13a including a D flip-flop, and the stored value is (-1) times N
The data select circuit 1 calculates the multiplied data by N.
3b, the data multiplied by (-1) and the secondary difference signal DIFF are added to the output data of the data select circuit 13b, and the added data is fed back to the data select circuit. There is. That is, in the interpolation calculation circuit, in synchronization with clock pulse φ3,

【数9】   NDIFF(m)=N*DIFF(n−1)+m*
(DIFF(n)−DIFF(n−1))を演算するこ
とにより信号DIFFを直線的に近似して、2次差分信
号DIFFを補間している。そして、この補間演算と同
時に当該データの符号が正負いずれかであるかを、符号
信号SIGNとして出力している。
[Formula 9] NDIFF(m)=N*DIFF(n-1)+m*
By calculating (DIFF(n)-DIFF(n-1)), the signal DIFF is linearly approximated, and the second-order difference signal DIFF is interpolated. Simultaneously with this interpolation calculation, whether the sign of the data is positive or negative is output as a sign signal SIGN.

【0019】次いで、図5に示すように、このゼロクロ
ス検出回路13のDフリップフロップ13c に上記符
号出力SIGNが入力されており、該符号出力SIGN
とDフリップフロップ13cの反転Q端子とがAND回
路13dに入力され、該符号出力SIGNのインバータ
13eを介した出力信号とフリップフロップ13cのQ
端子とがAND回路13f に入力されている。
Next, as shown in FIG. 5, the above code output SIGN is input to the D flip-flop 13c of this zero cross detection circuit 13.
and the inverted Q terminal of the D flip-flop 13c are input to the AND circuit 13d, and the output signal of the sign output SIGN via the inverter 13e and the Q terminal of the flip-flop 13c are input to the AND circuit 13d.
The terminal is input to the AND circuit 13f.

【0020】そして、図6のタイムチャートに示すよう
に、ラインセンサ8の出力信号VinがA/Dコンバー
タ9に入力されデジタル変換されて出力信号ADが得ら
れる。この出力信号ADが2次差分演算回路12に入力
されるとクロックパルスφ2に同期して2次差分信号D
IFFが得られ、この信号DIFFがゼロクロス検出回
路13に入力されると、最初に該信号DIFFが直線的
に近似されて補間された信号NDIFF/Nと符号信号
SIGNとが得られる。そしてこの符号信号SIGNが
さらにゼロクロス検出回路13によって、クロックパル
スφ3に同期して、AND回路13d からは符号信号
SIGNがLからHに変化したときに立上がるパルスP
−ZEROがゼロクロス信号として出力され、AND回
路13f からは符号信号SIGNがHからLに変化し
たときに立上がるパルスN−ZEROがゼロクロス信号
として出力される。すなわち、パルスP−ZEROは2
次差分信号DIFFの補間データNDIFF/Nが正か
ら負に変化することによってゼロクロスしたときに立上
がり、パルスN−ZEROは補間データNDIFF/N
が負から正に変化してゼロクロスしたときに立上がる信
号となる。
As shown in the time chart of FIG. 6, 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, the secondary difference signal D is synchronized with the clock pulse φ2.
When IFF is obtained and this signal DIFF is input to the zero-cross detection circuit 13, the signal DIFF is first linearly approximated to obtain an interpolated signal NDIFF/N and a code signal SIGN. This code signal SIGN is further processed by the zero-cross detection circuit 13 in synchronization with the clock pulse φ3, and the AND circuit 13d outputs a pulse P that rises when the code signal SIGN changes from L to H.
-ZERO is output as a zero-cross signal, and a pulse N-ZERO that rises when the code signal SIGN changes from H to L is output as a zero-cross signal from the AND circuit 13f. That is, the pulse P-ZERO is 2
The pulse N-ZERO rises when the interpolated data NDIFF/N of the next difference signal DIFF changes from positive to negative and crosses zero.
It becomes a signal that rises when changes from negative to positive and crosses zero.

【0021】上記ゼロクロス検出回路13によって得ら
れたゼロクロス挙動の信号波形が、ラインセンサ中央部
10bに対応した部分とラインセンサ右部20bに対応
した部分、ラインセンサ30b に対応した部分とに分
割されて、各別にそれぞれゼロクロスメモリ回路14、
24、34に入力されて記憶される。このときゼロクロ
ス挙動は、ラインセンサ8の右部20bと左部30bで
は画素位置に応じてアドレス演算回路25、35から出
力されるアドレスに対応して記憶され、ラインセンサ中
央部10b では第1カウンタ50のカウント信号(C
OUNTER1)に応じて記憶される。すなわち、アド
レス演算回路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 the right part 20b and left part 30b of the line sensor 8 in correspondence with the addresses output from the address calculation circuits 25 and 35 according to the pixel position, and in the central part 10b of the line sensor 8, the zero crossing behavior is stored in the first counter. 50 count signal (C
OUNTER1). 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,

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

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

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

【0022】また、上記アドレス演算回路25、35に
は第2カウンタ60のカウント信号(COUNTER2
)が入力されており、該第2カウンタ60および前記第
1カウンタ50は制御回路40の出力信号に基づいてカ
ウントアップとリセットとが行なわれる。この第2カウ
ンタ60は、後述するように、ゼロクロスメモリ回路2
4、34からデータの読み出しを行なう場合にアドレス
をインクリメントする。また、アドレス演算回路25、
35には制御回路40からアドレス処理情報が入力され
、該アドレス処理情報に基づいてアドレス演算回路25
、35からゼロクロスメモリ回路24、34に対して所
定の書込み信号と読み出し信号とが出力される。しかも
、これら第1カウンタ50と第2カウンタ60は、前記
クロックパルスφ1、φ2よりも短い周期のクロックパ
ルスφ3(図6示)に同期して作動し、データを細かく
分割して書き込みと読み出しとを行なうようにしてある
The address calculation circuits 25 and 35 also receive a count signal (COUNTER2) of the second counter 60.
) is input, 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. Furthermore, the first counter 50 and the second counter 60 operate in synchronization with a clock pulse φ3 (shown in FIG. 6) having a shorter cycle than the clock pulses φ1 and φ2, and divide data into small pieces for writing and reading. I am trying to do this.

【0023】そして、上記ゼロクロスメモリ回路14、
24、34の出力側には一致検出回路70が接続されて
おり、該一致検出回路70の出力側は制御回路40に接
続されている。
[0023]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.

【0024】また、第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.

【0025】次に図7ないし図10に基づいて、被写体
の輝度情報のメモリの書き込みと読み出しの手順を説明
する。なお、第1カウンタ50と第2カウンタ60は前
記クロックパルスφ3に同期して作動する。
Next, based on FIGS. 7 to 10, a procedure for writing and reading luminance information of an object into and from the memory will be explained. Note that the first counter 50 and the second counter 60 operate in synchronization with the clock pulse φ3.

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

【0027】ラインセンサ8は1本で構成されているか
ら、まずそのうちのラインセンサ左部30b に関する
部分の最初の画素の読み出しが開始されたか否かが読み
出し画素数カウンタの値により判断され(ステップ70
4 )、当該最初の部分の読み出しが開始されるまで1
画素ずつ出力される(ステップ705 )。当該最初の
部分の読み出しが開始されたならば、第1カウンタ50
がリセットされる(ステップ706 )。そして、ライ
ンセンサ左部30b の1画素に対応したデータを読み
出して(ステップ707 )、読み出されたデータを左
側ゼロクロスメモリ回路34に書き込む(ステップ70
8 )。なお、ステップ707とステップ708との間
でゼロクロス検出が実行される。次いでステップ709
 に進んで全画素について読み出しが完了したか否かを
第1カウンタ50の値により判断し、読み出されていな
い場合にはステップ710 に進んで第1カウンタ50
をカウントアップしたのちステップ707 に戻って1
画素読み出しと左側ゼロクロスメモリ回路34への書き
込みが行なわれる(ステップ708)。そして左側ゼロ
クロスメモリ回路34にデータが書き込まれる際には、
第1カウンタ50のカウント信号に基づいてアドレス演
算回路35からアドレスを指定されてメモリされる。こ
のとき、メモリされるアドレスは、前記数11式に従っ
て指定される。
Since the line sensor 8 is composed of one line sensor, it is first determined whether or not the 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 70
4), 1 until reading of the first part starts.
Each pixel is output (step 705). Once reading of the first part is started, the first counter 50
is reset (step 706). Then, data corresponding to one pixel of the left part 30b of the line sensor is read out (step 707), and the read data is written into the left zero cross memory circuit 34 (step 70).
8). Note that zero cross detection is performed between step 707 and step 708. Then step 709
The process proceeds to step 710, 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 710, and the first counter 50
After counting up, return to step 707 and perform 1
Pixel reading and writing to the left zero cross memory circuit 34 are performed (step 708). 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.

【0028】ラインセンサ左部30b の全画素の読み
出しが完了してステップ709 でYESとなると、ス
テップ803 (図8)に進んでラインセンサ中央部1
0b に関する部分の最初の画素の読み出しが開始され
たか否かが読み出し画素数カウンタの値により判断され
、当該最初の部分の読み出しが開始されるまで1画素ず
つ出力される(ステップ804 )。当該最初の部分の
読み出しが開始されたならば第1カウンタ50がリセッ
トされ(ステップ805 )、前記ステップ707から
710と同様に、ラインセンサ中央部10b に関して
、ゼロクロス検出が行なわれながら、1画素ずつの読み
出し(ステップ806)と中央部ゼロクロスメモリ14
への書き込み(ステップ807)、第1カウンタ50の
値によるラインセンサ中央部10b の全画素について
の読み出し完了の判断(ステップ808 )とが第1カ
ウンタ50をカウントアップしながら(ステップ809
 )繰り返される。なお、メモりされるアドレスは、数
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 709, the process proceeds to step 803 (FIG. 8) where the central part 1 of the line sensor is read out.
It is determined whether reading of the first pixel of the portion related to 0b has started 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 804). Once the reading of the first part is started, the first counter 50 is reset (step 805), and as in steps 707 to 710, the line sensor central part 10b is read out pixel by pixel while zero cross detection is performed. reading (step 806) and central zero cross memory 14
(step 807), 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 808), while counting up the first counter 50 (step 809).
)Repeated. Note that the address to be memorized is specified according to Equation 9.

【0029】ラインセンサ中央部10bの全画素につい
ての読み出しが完了してステップ808においてYES
と判断されると、ステップ903 (図9)に進んで、
1画素ずつ出力しながら(ステップ904)ラインセン
サ右部20bに関する部分の最初の画素の読み出し開始
が読み出し画素数カウンタの値により判断され、当該最
初の部分の読み出しが開始されたならば第1カウンタ5
0がリセットされる(ステップ905 )。そして、ラ
インセンサ左部30bとラインセンサ中央部10bに関
する手順と同様に、ラインセンサ右部20b に関して
、ゼロクロス検出が行なわれながら、1画素ずつの読み
出し(ステップ906)と右側ゼロクロスメモリ24へ
の書き込み(ステップ907)、第1カウンタ50の値
によるラインセンサ右部20b の全画素についての読
み出し完了の判断(ステップ908 )とが第1カウン
タ50をカウントアップしながら(ステップ909 )
繰り返される。右側ゼロクロスメモリ回路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 808.
If it is determined that
While outputting one pixel at a time (step 904), 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 905). 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 one pixel at a time (step 906) and writing to the right zero cross memory 24. (Step 907), 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 908), and while counting up the first counter 50 (Step 909).
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.

【0030】ラインセンサ8の全画素について読み出し
が終了して前記ステップ908 の判定がYESとなれ
ば、ステップ1001(図10)に進んで第1カウンタ
50をリセットする。そして、ゼロクロスメモリ回路1
4、24、34からメモリデータを読み出し(ステップ
1002)、一致検出回路70にて中央部ゼロクロスメ
モリ回路14と右側ゼロクロスメモリ回路24、左側ゼ
ロクロスメモリ回路34のデータが一致するか否かを判
断する(ステップ1003)。データが一致している場
合にはステップ1004に進んで、当該時における、第
1カウンタ50のカウント信号(COUNTER1)の
数値をアドレスデータとして、第2カウンタ60のカウ
ンタ信号(COUNTER2)の数値を距離データとし
て、それぞれデータメモリ回路80に書き込む。 上記ステップ1003の判定がNOである場合にはステ
ップ1005に進んで、ラインセンサ8の中央部10b
 の有効な全画素に対応したメモリデータ(基準データ
)の読み出しが完了したか否かを第1カウンタ50の値
により判断し、完了していない場合にはステップ100
6に進んで第1カウンタ50をカウントアップしたのち
ステップ1002に戻ってステップ1005までを実行
する。
If the reading of all pixels of the line sensor 8 is completed and the determination in step 908 is YES, the process proceeds to step 1001 (FIG. 10) and the first counter 50 is reset. And zero cross memory circuit 1
4, 24, and 34 (step 1002), and the coincidence detection circuit 70 determines whether or not the data in the center zero-cross memory circuit 14, the right zero-cross memory circuit 24, and the left zero-cross memory circuit 34 match. (Step 1003). If the data match, the process proceeds to step 1004, 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 1003 is NO, the process proceeds to step 1005, where the center portion 10b of the line sensor 8 is
It is determined based on the value of the first counter 50 whether or not the reading of memory data (reference data) corresponding to all valid pixels has been completed, and if it has not been completed, step 100 is performed.
After proceeding to step 6 and incrementing the first counter 50, the process returns to step 1002 and executes steps up to step 1005.

【0031】基準データの読み出しが完了したならばス
テップ1005からステップ1007に進んで、中央部
ゼロクロスメモリ回路14のデータに対して右側と左側
のゼロクロスメモリ回路24、34のデータが規定量シ
フトされて上記ステップ1001からステップ1005
までが実行(シフト読み出し)されたか否かを第2カウ
ンタ60の値により判断する(ステップ1007)。シ
フト読み出しが完了していない場合には、第2カウンタ
60をカウントアップしてステップ1001に戻り、ス
テップ1002からステップ1005を繰り返す。そし
て、シフト読み出しが完了した場合にはステップ100
9に進む。
When the reading of the reference data is completed, the process proceeds from step 1005 to step 1007, 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. Steps 1001 to 1005 above
It is determined based on the value of the second counter 60 whether or not the above steps have been executed (shift read) (step 1007). If the shift reading has not been completed, the second counter 60 is counted up, the process returns to step 1001, and steps 1002 to 1005 are repeated. Then, if the shift read is completed, step 100 is performed.
Proceed to step 9.

【0032】このステップ1001からステップ100
8までにおけるメモリデータの読み出しは、第1カウン
タ50とアドレス演算回路25、35によって、前記数
9式、数10式、数11式に対応して、中央部ゼロクロ
スメモリ回路14からは、
[0032] From this step 1001 to step 100
The reading of the memory data up to 8 is performed by the first counter 50 and the address calculation circuits 25 and 35, and from the central zero-cross memory circuit 14, in accordance with the equations 9, 10 and 11,

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

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

【数15】   ADDRESS=COUNTER1+S−COUN
TER2に従って読み出される。なお、数14式の中の
Sは定数である。このときの書き込みアドレスと読み出
しアドレスとの関係を図11と図12を参照して説明す
る。
[Formula 15] 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. 11 and 12.

【0033】図11(a)は第2カウンタ60のカウン
ト信号が0(COUNTER2=0)のときを示し、こ
のとき第1カウンタ50を0から(W−1)までインク
リメントしながら(ステップ1006)、ラインセンサ
8の各部10b、20b、30bの各画素に対応したア
ドレスにメモリされたデータを比較してそれらのデータ
の一致を検出する。 したがって、COUNTER2=0のときには、ライン
センサ中央部10b とラインセンサ右部20b の画
素ではアドレスが0から(W−1)までインクリメント
され、ラインセンサ左部30b の画素ではアドレスが
Sから(S+W−1)までインクリメントされる。次い
で第2カウンタ60をインクリメントし(ステップ10
08)、第2カウンタ60のカウンタ信号を1(COU
NTER2=1)とした状態で第1カウンタ50を0か
ら(W−1)までインクリメントしながら(ステップ1
006)、ラインセンサ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. 11A 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 1006). , the data stored in the addresses corresponding to the respective pixels of each section 10b, 20b, 30b of the line sensor 8 are compared to detect coincidence of 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 10).
08), 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 1
006), 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-2) for line sensor left part 30b.
) is incremented. 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.

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

【0035】すなわち、ゼロクロスメモリ回路14、2
4、34のメモリデータがゼロクロス点に関して一致し
たときの第2カウンタ60の値が、前記数6式における
ずれ量Xp に相当する。そして、このずれ量がステッ
プ1004においてデータメモリ回路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 1004.

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

【0037】[0037]

【発明の効果】以上説明したようにこの発明に係るパッ
シブ型オートフォーカス装置用測距装置によれば、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, a line sensor divided into three parts captures the subject brightness, and a 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 compared whether the three data match with respect to the zero-crossing point. Since the distance to the object 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.

【0038】しかも、ラインセンサを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.

【0039】しかも、2次差分演算回路の出力信号を補
間しているから、少ない画素数で距離の分割を多くでき
る。
Furthermore, since the output signal of the second-order difference calculation circuit is interpolated, the distance can be divided into many areas with a small number of pixels.

【0040】加えて、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次差分演算回路の出力信号をデジタル処理し
て直線的に近似することによって当該信号を補間する補
間演算回路ブロック図である。
FIG. 4 is a block diagram of an interpolation calculation circuit that interpolates the output signal of the second-order difference calculation circuit by digitally processing the signal and linearly approximating the signal.

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

【図6】ラインセンサとA/Dコンバータ、2次差分演
算回路、ゼロクロス検出回路の出力信号のタイムチャー
トである。
FIG. 6 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.

【図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 left part 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 central portion of the line sensor.

【図9】ラインセンサから得られたデータをゼロクロス
メモリ回路に書き込む手順を示すフローチャートであっ
て、ラインセンサの右部に関するものである。
FIG. 9 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.

【図10】ゼロクロスメモリ回路に記憶されたデータの
一致を検出するために、該ゼロクロスメモリ回路から所
定のデータを読み出す手順を示すフローチャートである
FIG. 10 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.

【図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 a diagram illustrating an operating procedure when reading and comparing data stored in a zero-cross memory circuit.

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

【図14】測距原理に基づいて測定手順を説明するため
の図で、受光素子列で検出される被写体像の輝度分布に
関する信号図である。
FIG. 14 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 a second-order difference between the digital values, a zero-cross detection circuit that interpolates the output signal of the second-order difference calculation circuit to detect a zero-cross point, and zero-cross behavior obtained by the zero-cross detection circuit. It consists of a zero-crossing memory circuit that stores signals separately for each of 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 line 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 the coincidence detection circuit detects coincidence of zero-crossing behavior signals of and calculates a distance to a subject from the slide amount.
JP6561891A 1991-03-06 1991-03-06 Range-finder for passive type automatic focusing device Pending JPH04277710A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP6561891A JPH04277710A (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
JP6561891A JPH04277710A (en) 1991-03-06 1991-03-06 Range-finder for passive type automatic focusing device

Publications (1)

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

Family

ID=13292191

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH04277710A (en)

Similar Documents

Publication Publication Date Title
JP3093781B2 (en) Focus position detection device
US5189461A (en) Range finder for passive type autofocussing device
JPH04277710A (en) Range-finder for passive type automatic focusing device
JP3080768B2 (en) Distance measuring device for passive autofocus system
JP3025563B2 (en) Distance measuring device for passive autofocus system
JPS6118912A (en) Focus detecting device
JPH04277709A (en) Range-finder for passive type automatic focusing device
US5264891A (en) Range finder for passive-type autofocusing device
JP2954720B2 (en) Distance measuring device for passive autofocus system
JP2954719B2 (en) Distance measuring device for passive autofocus system
JP2954721B2 (en) Distance measuring device for passive autofocus system
JP2954724B2 (en) Distance measuring device for passive autofocus system
JP2954723B2 (en) Distance measuring device for passive autofocus system
JP2954718B2 (en) Distance measuring device for passive autofocus system
JP3025564B2 (en) Distance measuring device for passive autofocus system
JP2954722B2 (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
JP2993754B2 (en) Distance measuring device for passive autofocus system
JP3064064B2 (en) Distance measuring device for passive autofocus system
JP3064062B2 (en) Distance measuring device for passive autofocus system
JP3064063B2 (en) Distance measuring device for passive autofocus system
JP3025565B2 (en) Distance measuring device for passive autofocus system
JPH05107459A (en) Distance measuring device for passive autofocusing apparatus
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