JPH05107061A - Range finder for passive type auto-focusing apparatus - Google Patents
Range finder for passive type auto-focusing apparatusInfo
- Publication number
- JPH05107061A JPH05107061A JP29520791A JP29520791A JPH05107061A JP H05107061 A JPH05107061 A JP H05107061A JP 29520791 A JP29520791 A JP 29520791A JP 29520791 A JP29520791 A JP 29520791A JP H05107061 A JPH05107061 A JP H05107061A
- Authority
- JP
- Japan
- Prior art keywords
- zero
- cross
- circuit
- data
- address
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000006399 behavior Effects 0.000 claims abstract description 20
- 238000001514 detection method Methods 0.000 claims description 35
- 238000005259 measurement Methods 0.000 abstract description 19
- 238000000034 method Methods 0.000 description 28
- 238000010586 diagram Methods 0.000 description 13
- 230000003287 optical effect Effects 0.000 description 13
- 238000003384 imaging method Methods 0.000 description 10
- 238000006073 displacement reaction Methods 0.000 description 4
- 102100036305 C-C chemokine receptor type 8 Human genes 0.000 description 2
- 101000837299 Euglena gracilis Trans-2-enoyl-CoA reductase Proteins 0.000 description 2
- 101000716063 Homo sapiens C-C chemokine receptor type 8 Proteins 0.000 description 2
- 238000003491 array Methods 0.000 description 2
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Measurement Of Optical Distance (AREA)
- Automatic Focus Adjustment (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、被写体からの光を受
けて該被写体までの距離を測定し、該測定結果に基づい
て撮影レンズが合焦するように焦点を調節するパッシブ
型オートフォーカス装置の、被写体までの距離を測定す
るための測距装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a passive autofocus device that receives light from an object, measures the distance to the object, and adjusts the focus so that the taking lens is focused based on the measurement result. The present invention relates to a distance measuring device for measuring a distance to a subject.
【0002】[0002]
【従来の技術】オートフォーカス装置は、カメラなどの
撮影距離を自動的に測定し、その測距結果に基づいて撮
影レンズを調節してピントを合わせる装置で、このオー
トフォーカス装置によって誰もが写真撮影をより手軽に
楽しめるようになった。このオートフォーカス装置には
種々の形式のものが開発されているが、主なものとして
三角測量法による測距法がある。この三角測量法による
ものに、カメラに設けられた受光センサで被写体からの
光を受けて撮影距離を測定するパッシブ型のものがあ
る。2. Description of the Related Art An autofocus device is a device that automatically measures the shooting distance of a camera or the like and adjusts the shooting lens based on the distance measurement result to focus. Now you can enjoy shooting more easily. Various types of this autofocus device have been developed, but the main one is a distance measuring method by a triangulation method. One of the triangulation methods is a passive type in which a light-receiving sensor provided in a camera receives light from a subject and measures a shooting distance.
【0003】この種のパッシブ型測距装置のうちには2
個の受光センサを配設したものがある。この2個の受光
センサからなる測距装置では、2つの被写体が存在する
場合の測定結果からは被写体の存在態様が2通りに考え
られることになってしまい、確実な測距を行なえずピン
トのずれた画像となってしまうおそれがある。Two of the passive type distance measuring devices of this type are
There is one in which one light receiving sensor is arranged. In the distance measuring device composed of these two light receiving sensors, there are two possible modes of existence of the subject from the measurement results when two subjects are present, and reliable distance measurement cannot be performed and the focus cannot be achieved. The image may be shifted.
【0004】このため、確実な測距を行なって鮮明な画
像を得ることができるように、本願出願人は3個の受光
素子列からなる測距機構を既に提案した(特開平3− 4
2642号)。この測距機構による測距原理を図19と図20に
基づいて説明する。測距機構は基準受光センサ1と第1
受光センサ2、第2受光センサ3とからなり、これら受
光センサ1、2、3は、それぞれ結像レンズ1a、2a、3a
と受光素子列1b、2b、3bとから構成され、被写体像が結
像レンズ1a、2a、3aを透過して受光素子列1b、2b、3b上
に結像するようにしてある。また、図19は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、3aから被写体Pまでの距離をLp、光軸T0から
被写体Pまでの距離をXとすると、三角測量の原理か
ら、For this reason, the applicant of the present application has already proposed a distance measuring mechanism consisting of three light receiving element arrays so that a clear image can be obtained by performing reliable distance measurement (Japanese Patent Laid-Open No. 3-4.
No. 2642). The principle of distance measurement by this distance measuring mechanism will be described based on FIGS. 19 and 20. The distance measuring mechanism includes the reference light receiving sensor 1 and the first
It comprises a light receiving sensor 2 and a second light receiving sensor 3, and these light receiving sensors 1, 2 and 3 are imaging lenses 1a, 2a and 3a, respectively.
And the light receiving element rows 1b, 2b, 3b, and the subject image is formed on the light receiving element rows 1b, 2b, 3b through the imaging lenses 1a, 2a, 3a. Further, FIG. 19 shows a case where one subject P exists. Then, the displacement amount of the output signal P 0 related to the luminance distribution of the subject P detected by the reference light receiving element array 1b from the optical axis T 0 of the reference light receiving sensor x 0 is detected by the first light receiving element array 2b. The displacement amount of the output signal P 1 related to the brightness distribution of the subject P from the optical axis T 1 of the first light receiving sensor 2 is x 1 , and the output signal related to the brightness distribution of the subject P detected by the second light receiving element array 3b. The displacement amount of P 2 from the optical axis T 2 of the second light receiving sensor 3 is x 2 . These displacement amounts x 0 , x 1 , x 2 represent the phase difference regarding the luminance distribution of the subject image detected by the light receiving element arrays 1b, 2b, 3b. Then, the optical axes T 0 , T 1 ,
The distance between T 2 is B, the distance between the imaging lenses 1a, 2a and 3a and the light receiving surfaces of the light receiving element rows 1b, 2b and 3b is A, and the imaging lens is
Assuming that the distance from 1a, 2a, 3a to the subject P is Lp, and the distance from the optical axis T 0 to the subject P is X, the principle of triangulation
【数1】X=x0*Lp/A となる。また、光軸T0 を基準にして出力信号の像が現
われた方向の符号を含めて、## EQU1 ## X = x 0 * Lp / A. In addition, including the sign of the direction in which the image of the output signal appears with reference to the optical axis T 0 ,
【数2】−x1={(B−X)/Lp}*A[Number 2] -x 1 = {(B-X ) / Lp} * A
【数3】x2={(B+X)/Lp}*A となる。これら数2式、数3式のそれぞれに、数1式を
代入すれば、## EQU3 ## x 2 = {(B + X) / Lp} * A. By substituting the equation 1 into each of the equation 2 and the equation 3,
【数4】x1=−{(B/Lp)*A}+x0 ## EQU4 ## x 1 =-{(B / Lp) * A} + x 0
【数5】x2=(B/Lp)*A+x0 となる。## EQU5 ## x 2 = (B / Lp) * A + x 0 .
【0005】数4式と数5式とを比較すると、x1、x2
はそれぞれx0 を基準として、Comparing equation 4 and equation 5, x 1 and x 2
Are based on x 0 respectively,
【数6】(B/Lp)*A=Xp だけずれていることが分る。したがって、このXp を求
めることにより、## EQU6 ## It can be seen that (B / Lp) * A = Xp. Therefore, by finding this Xp,
【数7】Lp=A*B/Xp を算出することができる。## EQU7 ## Lp = A * B / Xp can be calculated.
【0006】そして、上記Xp を求める操作を図20に基
づいて説明する。(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となる。The operation for obtaining Xp will be described with reference to FIG. (A) is a comparison of the output signal relating to the luminance distribution of the subject images of the light receiving element rows 1b, 2b, 3b that received the light from the two subjects P, Q with the reference output signals P 0 , Q 0. , (A) to (b), if the waveforms of the output signals P 1 and P 2 are shifted until the output signals P 0 , P 1 and P 2 match, the shift amount becomes Xp. Become. That is, since the shift amounts of P 1 and P 2 are equal at this time, when the output signals of the light receiving element array 2b and the output signal of the light receiving element array 3b are offset by the same distance, the waveforms of the three signals match. The waveforms of these three signals are information about the same subject P. Next, as shown in (C), if the output signals Q 1 and Q 2 are shifted to a state where they match the output signal Q 0 , the shift amount becomes Xq.
【0007】上述のようにして求められた上記Xp、Xq
から前記数7式により、被写体P、Qまでの距離Lp、
Lqが求められることになる。The above Xp and Xq obtained as described above
From the above equation 7 to the distances Lp to the subjects P and Q,
Lq will be required.
【0008】[0008]
【発明が解決しようとする課題】しかしながら、上述し
た従来の測距操作を原理に従って実行すると、基準受光
素子列1bの出力信号と第1受光素子列2bの出力信号との
相関関係を演算し、次いで基準受光素子列1bの出力信号
と第2受光素子列3bの出力信号との相関関係を演算し
て、これら基準受光素子列1b、第1受光素子列2b、第2
受光素子列3bの波形の一致を検出することになるから、
相関演算が多くなって信号処理時間が長くなってしま
う。そのため、測距に要する時間が長くなり、被写体が
動的なものである場合にはピントがずれて撮影され、画
像が不鮮明なものとなってしまうおそれが生じる。However, when the above-described conventional distance measuring operation is executed 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 array 1b and the output signal of the second light receiving element array 3b is calculated, and the reference light receiving element array 1b, the first light receiving element array 2b, and the second light receiving element array 2b are calculated.
Since the matching of the waveforms of the light receiving element array 3b will be detected,
The number of correlation calculations increases and the signal processing time increases. Therefore, the time required for distance measurement becomes long, and when the subject is dynamic, the image may be out of focus and the image may be unclear.
【0009】また、受光センサ1、2、3を測距装置に
取り付ける際に、それぞれの装置ごとに取付誤差が生じ
て、測距の光学系にずれが生じてしまうおそれがある。
すなわち、図18に示すように、受光センサ1の結像レン
ズ1aが取り付けられる正規の位置を実線で示した場合、
破線で示すように正規の位置から偏倚して取り付けられ
た場合には結像レンズ1aの光軸T0 がずれてしまうか
ら、受光素子列1b上の結像位置がずれてしまう。あるい
は、結像レンズ1aが正規の位置に取り付けられた場合
で、受光素子列1bの取り付け位置がずれてしまっても、
受光素子列1b上の結像位置がずれてしまう。このため、
正規に取り付けられた場合に受光素子列1bの範囲Dにお
ける出力信号を処理するのに対して、ずれて取り付けら
れた場合には範囲dにおける出力信号で処理を行なわな
ければ被写体距離を誤測距してしまうおそれがある。し
かも、これら結像レンズ1aの取付誤差は個々の測距装置
によって異なったものとなるから、全ての測距装置につ
いて一律に補正をすることができない。Further, when the light receiving sensors 1, 2 and 3 are attached to the distance measuring device, a mounting error may occur in each device, and the distance measuring optical system may be displaced.
That is, as shown in FIG. 18, when the regular position where the imaging lens 1a of the light receiving sensor 1 is attached is shown by a solid line,
When it is attached so as to be deviated from the normal position as shown by the broken line, the optical axis T 0 of the imaging lens 1a is displaced, so that the imaging position on the light receiving element array 1b is displaced. Alternatively, even if the imaging lens 1a is mounted at a regular position and the mounting position of the light receiving element array 1b is displaced,
The image forming position on the light receiving element array 1b is displaced. For this reason,
The output signal in the range D of the light-receiving element array 1b is processed when the light-receiving element array 1b is properly attached, whereas the object distance is erroneously measured unless the output signal in the range d is processed when the light-receiving element array 1b is attached in a displaced manner. There is a risk of doing it. Moreover, the mounting error of these imaging lenses 1a differs depending on the individual distance measuring devices, so that it is impossible to uniformly correct all the distance measuring devices.
【0010】そこで、この発明は、3つの受光センサを
有し、信号処理を短時間で行なうことができ、極力鮮明
な画像を得ることができるようにするとともに、被写体
輝度を捕捉する受光センサの取付に誤差が生じてしまっ
ても、受光センサの出力信号を正しく処理して誤測距を
極力防止した測距装置を提供することを目的としてい
る。In view of this, the present invention has three light receiving sensors so that signal processing can be performed in a short time and a clear image can be obtained as much as possible, and at the same time, a light receiving sensor for capturing the brightness of an object is provided. An object of the present invention is to provide a distance measuring device in which an output signal of a light receiving sensor is correctly processed even if an error occurs in mounting to prevent erroneous distance measurement as much as possible.
【0011】[0011]
【課題を解決するための手段】上記の目的のため、この
発明に係るパッシブ型オートフォーカス装置用測距装置
は、被写体の輝度分布を捕捉する3組の受光センサと、
上記それぞれの受光センサの出力信号の2次差分を算出
する2次差分演算回路と、上記それぞれの2次差分演算
回路の出力信号のゼロクロス点を検出するゼロクロス検
出回路と、上記それぞれのゼロクロス検出回路によって
得られたゼロクロス挙動信号を記憶するゼロクロスメモ
リ回路と、上記それぞれのゼロクロスメモリ回路に記憶
されたゼロクロス挙動信号を比較してこれらの一致を検
出する一致検出回路とからなり、上記ゼロクロス点のデ
ータの上記ゼロクロスメモリ回路に書き込みを開始する
出力信号に対応するラインセンサの画素の位置を外部か
らの操作によって調整する調整手段を設け、個々の受光
センサに応じて該調整手段によってゼロクロスメモリ回
路への書き込み開始位置を調整し、上記3組の受光セン
サのうちの1つを基準とし該基準の受光センサから得ら
れたゼロクロス挙動信号に対して、他の2つの受光セン
サから得られたゼロクロス挙動信号を順次スライドさせ
てこれらのゼロクロス挙動信号の一致を上記一致検出回
路により検出し、該スライド量から被写体までの距離を
演算することを特徴としている。For the above-mentioned purpose, a passive autofocus apparatus distance measuring apparatus according to the present invention comprises three sets of light receiving sensors for capturing the luminance distribution of an object,
A second-order difference calculation circuit that calculates a second-order difference of the output signals of the respective light-receiving sensors, a zero-cross detection circuit that detects a zero-cross point of the output signals of the respective second-order difference calculation circuits, and the respective zero-cross detection circuits. The zero-cross memory circuit for storing the zero-cross behavior signal obtained by, and a match detection circuit for comparing these zero-cross behavior signals stored in the respective zero-cross memory circuit to detect these matches, the data of the zero-cross point The adjusting means for adjusting the position of the pixel of the line sensor corresponding to the output signal for starting the writing to the zero cross memory circuit by external operation is provided, and the adjusting means adjusts to the zero cross memory circuit according to each light receiving sensor. Adjust the writing start position and set one of the above three photosensors. The zero-cross behavior signal obtained from the other two light-receiving sensors is sequentially slid with respect to the zero-cross behavior signal obtained from the reference light-receiving sensor, and the coincidence detection circuit detects the coincidence of these zero-cross behavior signals. The distance from the slide amount to the subject is calculated.
【0012】[0012]
【作用】上記受光センサを構成する受光素子列によって
被写体輝度分布に応じた出力電圧が得られ、この出力電
圧の2次差分分布はゼロレベルを境に挙動する。この挙
動のゼロクロス点は、被写体の同一部分に関する輝度分
布に対しては上記3つの受光センサについて所定の基準
部分から適宜ずれた状態で等しくなる。The output voltage according to the subject brightness distribution is obtained by the light receiving element array forming the above light receiving sensor, and the secondary difference distribution of the output voltage behaves at the zero level. The zero-cross points of this behavior are equal to the luminance distribution regarding the same portion of the subject in a state where the three light receiving sensors are appropriately deviated from the predetermined reference portions.
【0013】このずれた量は、上記一致検出回路でゼロ
クロス挙動の信号波形をスライドさせて検出すればスラ
イド量として得られることになる。This amount of deviation can be obtained as the amount of sliding by detecting the signal waveform of the zero-cross behavior by sliding the signal waveform with the coincidence detecting circuit.
【0014】このスライド量から三角測量法によって被
写体までの距離を算出することができる。The distance to the subject can be calculated from this slide amount by the triangulation method.
【0015】そして、受光センサを測距装置に取り付け
た際に正規の位置から偏倚してしまった場合には、この
偏倚量に対して受光センサの出力信号の上記ゼロクロス
メモリ回路への書き込み開始位置を上記調整手段によっ
て調整すれば、正規に取り付けられた状態と同様に正確
な測距データが得られる。When the light receiving sensor is attached to the distance measuring device and is deviated from the normal position, the write start position of the output signal of the light receiving sensor to the zero cross memory circuit with respect to this deviation amount. Is adjusted by the adjusting means, the accurate distance measurement data can be obtained in the same manner as in the state in which it is properly attached.
【0016】[0016]
【実施例】以下、図示した実施例に基づいて、この発明
に係るオートフォーカス装置用測距装置を具体的に説明
する。なお、図1ないし図11に第1実施例を、図12ない
し図16に第2実施例を、図17に第3実施例をそれぞれ示
してある。DESCRIPTION OF THE PREFERRED EMBODIMENTS The distance measuring device for an autofocus device according to the present invention will be specifically described below with reference to the illustrated embodiments. 1 to 11 show the first embodiment, FIGS. 12 to 16 show the second embodiment, and FIG. 17 shows the third embodiment.
【0017】図1ないし図11に従って第1実施例を説明
する。A first embodiment will be described with reference to FIGS.
【0018】受光センサ10、20、30は適宜数の画素を並
設した受光素子列からなるラインセンサと結像レンズと
が組合わされて構成されており、図2に示すようにカメ
ラの前面には3つの結像レンズ10a、20a、30a が配設さ
れ、被写体から発せられた光はこれらの結像レンズ10
a、20a、30a を透過して後方に配設されたラインセンサ
10b、20b、30b に結像する。これら受光センサ10、20、
30はそれぞれ中央部センサ10、右側センサ20、左側セン
サ30とされており、右側センサ20と左側センサ30のそれ
ぞれの光軸20c、30cは中央部センサ10の光軸10cを中心
として対称の位置にある。また、上記ラインセンサ10
b、20b、30b はそれぞれ中央部ラインセンサ10b、右側
ラインセンサ20b、左側ラインセンサ30b としてある。The light receiving sensors 10, 20 and 30 are constructed by combining a line sensor consisting of a light receiving element array in which an appropriate number of pixels are arranged in parallel and an image forming lens, and as shown in FIG. Is provided with three image forming lenses 10a, 20a, 30a, and the light emitted from the subject is formed by these image forming lenses 10a, 20a, 30a.
Line sensor that is placed behind the a, 20a, 30a
Images are formed on 10b, 20b, and 30b. These light receiving sensors 10, 20,
Reference numerals 30 denote a central sensor 10, a right sensor 20, and a left sensor 30, respectively.The optical axes 20c and 30c of the right sensor 20 and the left sensor 30 are symmetrical positions with respect to the optical axis 10c of the central sensor 10. It is in. In addition, the line sensor 10
Reference numerals b, 20b and 30b are a central line sensor 10b, a right line sensor 20b and a left line sensor 30b, respectively.
【0019】上記ラインセンサ10b、20b、30b には、図
1に示すように、各別にセンサドライバ11、21、31から
の駆動信号が入力され、ラインセンサ10b、20b、30b は
該駆動信号に基づいて被写体からの光の捕捉を開始す
る。また、これらセンサドライバ11、21、31は駆動制御
信号線40a によって制御回路40に接続され、制御回路40
から出力される駆動制御信号によって制御される。As shown in FIG. 1, the line sensors 10b, 20b and 30b are respectively supplied with drive signals from the sensor drivers 11, 21 and 31, and the line sensors 10b, 20b and 30b are supplied with the drive signals. Based on this, the capture of light from the subject is started. Further, these sensor drivers 11, 21, 31 are connected to the control circuit 40 by a drive control signal line 40a,
It is controlled by the drive control signal output from.
【0020】他方上記ラインセンサ10b、20b、30b の出
力端子には、図1に示すように、それぞれ2次差分演算
回路12、22、32が接続されており、該2次差分演算回路
12、22、32によってそれぞれのラインセンサ10b、20b、
30b で得られた被写体の輝度分布信号の2次差分を演算
する。これら2次差分演算回路12、22、32は図3に示す
ようにラインセンサ10b、20b、30b のそれぞれの画素の
出力信号Vinを、サンプルホールド回路12a、12b、12
c、12d、12e によってシフトしながら順次サンプルホー
ルドし、適宜な値の抵抗を介してオペアンプ12f によ
り、On the other hand, to the output terminals of the line sensors 10b, 20b, 30b, as shown in FIG. 1, quadratic difference calculation circuits 12, 22, 32 are connected, respectively, and the quadratic difference calculation circuits are connected.
12, 22, 32 by the respective line sensor 10b, 20b,
The second-order difference of the luminance distribution signal of the subject obtained in 30b is calculated. As shown in FIG. 3, the second-order difference calculation circuits 12, 22, 32 convert the output signals Vin of the pixels of the line sensors 10b, 20b, 30b into sample-hold circuits 12a, 12b, 12 respectively.
While sequentially shifting by c, 12d, 12e, sample and hold, and by op amp 12f via a resistor of appropriate value,
【数8】 Vout =(R2/(2*R1))*(Vin(n-2)−2*Vin(n-1)+Vin(n)) を演算することにより、2次差分を求める。なお、この
2次差分演算回路12、22、32におけるタイムチャートを
図4に示してある。また、図7に示すように、被写体輝
度は同図(a)に示す分布波形をしており、その1次差
分波形と2次差分波形とをそれぞれ(b)、(c)に示
してある。## EQU00008 ## The second order difference is obtained by calculating Vout = (R2 / (2 * R1)) * (Vin (n-2) -2 * Vin (n-1) + Vin (n)). A time chart in the second-order difference calculation circuits 12, 22, 32 is shown in FIG. Further, as shown in FIG. 7, the subject brightness has the distribution waveform shown in FIG. 7A, and its primary difference waveform and secondary difference waveform are shown in FIGS. 7B and 7C, respectively. ..
【0021】上記2次差分演算回路12、22、32の出力信
号は、図1に示すように、それぞれゼロクロス検出回路
13、23、33に入力されており、2次差分演算回路12、2
2、32で得られた2次差分のゼロクロス点を検出する。
図5に示すように、このゼロクロス検出回路13(23、3
3)のコンパレータ13a の入力端子に2次差分演算回路1
2(22、32)の出力信号Vinが入力され、基準端子は接
地されている。コンパレータ13aの出力側にはフリップ
フロップ13b、13cが接続され、フリップフロップ13bの
Q出力とフリップフロップ13cの反転Q出力とがAND
回路13dに入力され、フリップフロップ13bの反転Q出力
とフリップフロップ13cのQ出力とがAND回路13eに入
力され、さらにこれらAND回路13d、13eの出力信号が
OR回路13fに入力されている。そして、図6のタイム
チャートに示すように2次差分演算回路12の出力信号V
inがパルスφ1に同期して入力され、該出力信号Vinが
ゼロレベルと交差して符号が変化した状態にある場合
に、フリップフロップ13b、13cのクロックパルスφ2に
同期してゼロクロス信号がZEROパルスとして出力さ
れる。The output signals of the second-order difference calculation circuits 12, 22, 32 are, as shown in FIG.
It is input to 13, 23, 33, and the second-order difference calculation circuit 12, 2
The zero-cross point of the secondary difference obtained in 2 and 32 is detected.
As shown in FIG. 5, the zero cross detection circuit 13 (23, 3
The second order difference calculation circuit 1 is connected to the input terminal of the comparator 13a in 3).
The output signal Vin of 2 (22, 32) is input, and the reference terminal is grounded. Flip-flops 13b and 13c are connected to the output side of the comparator 13a, and the Q output of the flip-flop 13b and the inverted Q output of the flip-flop 13c are ANDed.
The inverted Q output of the flip-flop 13b and the Q output of the flip-flop 13c are input to the circuit 13d, and the output signals of the AND circuits 13d and 13e are input to the OR circuit 13f. Then, as shown in the time chart of FIG. 6, the output signal V of the secondary difference calculation circuit 12
When in is input in synchronization with the pulse φ1 and the output signal Vin crosses the zero level and the sign is changed, the zero-cross signal is the ZERO pulse in synchronization with the clock pulse φ2 of the flip-flops 13b and 13c. Is output as.
【0022】上記ゼロクロス検出回路13、23、33によっ
て得られたゼロクロス挙動の信号波形が、それぞれゼロ
クロスメモリ回路14、24、34に入力されて記憶される。
このとき、ゼロクロス挙動はそれぞれのラインセンサ10
b、20b、30b の画素位置に対応してアドレス演算回路1
5、25、35から出力されるアドレスと対応して記憶され
る。また、これらアドレス演算回路15、25、35には外部
から操作される図示しない調整手段から調整制御信号線
15a、25a、35a を介して偏差調整信号が入力されてい
る。この偏差調整信号は、既知の距離にある被写体につ
いて測距を行なって受光センサ10、20、30の取付誤差に
よって生じる補正量を求め、この補正量に対応して、ゼ
ロクロス点のデータを上記ゼロクロスメモリ回路14、2
4、34に書き込みを開始する出力信号に対応するライン
センサ10b、20b、30b の画素の位置を設定するための信
号である。いま、これらの補正量を、中央部メモリ回路
14に対する値をCadjとし、右側メモリ回路24に対する
値をRadjとし、左側メモリ回路34に対する値をLadj
とすると、アドレス演算回路15、25、35には第1カウン
タ50のカウント信号(COUNTER1)が入力され順
次インクリメントしながら、中央部メモリ回路14では、The signal waveforms of the zero-cross behavior obtained by the zero-cross detection circuits 13, 23 and 33 are input to and stored in the zero-cross memory circuits 14, 24 and 34, respectively.
At this time, the zero-cross behavior is determined by each line sensor 10.
Address operation circuit 1 corresponding to pixel positions b, 20b, and 30b
It is stored in correspondence with the address output from 5, 25, 35. In addition, these address operation circuits 15, 25, 35 are provided with adjustment control signal lines from adjustment means (not shown) operated from the outside.
The deviation adjustment signal is input via 15a, 25a, and 35a. This deviation adjustment signal measures the distance to a subject at a known distance to obtain the correction amount caused by the mounting error of the light receiving sensors 10, 20, 30. Memory circuit 14, 2
This is a signal for setting the position of the pixel of the line sensor 10b, 20b, 30b corresponding to the output signal for starting writing in 4, 34. Now, these correction amounts are set in the central memory circuit.
The value for 14 is Cadj, the value for the right memory circuit 24 is Radj, and the value for the left memory circuit 34 is Ladj.
Then, the count signal (COUNTER1) of the first counter 50 is input to the address calculation circuits 15, 25, and 35, and the central memory circuit 14
【数9】 ADDRESS=COUNTER1−Cadj−S 右側メモリ回路24では、## EQU00009 ## ADDRESS = COUNTER1-Cadj-S In the right memory circuit 24,
【数10】 ADDRESS=COUNTER1−Radj−S 左側メモリ回路34では、## EQU10 ## ADDRESS = COUNTER1-Radj-S In the left memory circuit 34,
【数11】ADDRESS=COUNTER1−Ladj に従って各画素に応じてそれぞれのアドレスに記憶され
る。なお、数9式と数10式中のSは定数である。また調
整範囲をAとすれば、0 <Cadj、Radj、Ladj< A
−1 とする。## EQU10 ## According to ADDRESS = COUNTER1-Ladj, the data is stored in each address according to each pixel. Note that S in the equations 9 and 10 is a constant. If the adjustment range is A, then 0 <Cadj, Radj, Ladj <A
-1.
【0023】また、上記アドレス演算回路25、35には第
2カウンタ60のカウント信号(COUNTER2)が入
力されており、該第2カウンタ60および前記第1カウン
タ50は制御回路40の出力信号に基づいてカウントアップ
とリセットとが行なわれる。この第2カウンタ60は、後
述するように、ゼロクロスメモリ回路24、34からデータ
の読み出しを行なう場合にアドレスをインクリメントす
る。また、アドレス演算回路15、25、35には制御回路40
からアドレス処理情報が入力され、該アドレス処理情報
に基づいてアドレス演算回路15、25、35からゼロクロス
メモリ回路14、24、34に対して所定の書込み信号と読み
出し信号とが出力される。Further, the count signal (COUNTER2) of the second counter 60 is inputted to the address arithmetic circuits 25 and 35, and the second counter 60 and the first counter 50 are based on the output signal of the control circuit 40. Counting up and resetting. The second counter 60 increments the address when data is read from the zero-cross memory circuits 24 and 34, as will be described later. In addition, the address calculation circuits 15, 25 and 35 have control circuits 40
Address processing information is input from the address calculation circuit, and predetermined write signals and read signals are output from the address operation circuits 15, 25 and 35 to the zero-cross memory circuits 14, 24 and 34 based on the address processing information.
【0024】そして、上記ゼロクロスメモリ回路14、2
4、34の出力側には一致検出回路70が接続されており、
該一致検出回路70の出力側は制御回路40に接続されてい
る。Then, the zero cross memory circuits 14 and 2 are
A match detection circuit 70 is connected to the output side of 4, 34,
The output side of the coincidence detection circuit 70 is connected to the control circuit 40.
【0025】また、第1カウンタ50のカウント信号はデ
ータメモリ回路80のアドレスポート81に入力され、第2
カウンタ60のカウント信号は該データメモリ回路80の距
離データポート82に入力されている。さらに第1カウン
タ50と第2カウンタ60のカウント信号は、いずれも制御
回路40に入力されている。また、制御回路40からデータ
メモリ回路80に対してデータメモリ信号が出力され、該
信号に基づいてアドレスデータと距離データとがデータ
メモリ回路80に記憶される。Further, 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 counter 60 is input to the distance data port 82 of the data memory circuit 80. Further, the count signals of the first counter 50 and the second counter 60 are both input to the control circuit 40. Further, the control circuit 40 outputs a data memory signal to the data memory circuit 80, and the address data and the distance data are stored in the data memory circuit 80 based on the signal.
【0026】次に図8および図9に基づいて、被写体の
輝度情報のメモリの書き込みと読み出しの手順を説明す
る。Next, the procedure of writing and reading the brightness information of the subject in the memory will be described with reference to FIGS.
【0027】測距が開始されるとラインセンサ10b、20
b、30b に電荷が蓄積され(ステップ801)、第2カウン
タ60がリセットされる(ステップ802)とともに第1カ
ウンタ50がリセットされる(ステップ803)。そして、
各ラインセンサ10b、20b、30bの1画素に対応したデー
タを読み出して(ステップ804 )、読み出されたデータ
をゼロクロスメモリ回路14、24、34に書き込む(ステッ
プ805 )。なお、ステップ804とステップ805との間でゼ
ロクロス検出が実行される。次いでステップ806 に進ん
で全画素について読み出しが完了したか否かを第1カウ
ンタ50の値により判断し、読み出されていない場合には
ステップ807 に進んで第1カウンタ50をカウントアップ
したのちステップ804 に戻って1画素読み出しとゼロク
ロスメモリ回路14、24、34への書き込みが行なわれる
(ステップ805 )。そしてゼロクロスメモリ回路14、2
4、34にデータが書き込まれる際には、第1カウンタ50
のカウント信号に基づいてアドレス演算回路15、25、35
からアドレスを指定されてメモリされる。このとき、メ
モリされるアドレスは、前記数9式、数10式、数11式に
従って指定される。なお、アドレスが負の場合には書き
込みは行なわれない。When the distance measurement is started, the line sensors 10b, 20
Electric charges are accumulated in b and 30b (step 801), the second counter 60 is reset (step 802), and the first counter 50 is reset (step 803). And
Data corresponding to one pixel of each line sensor 10b, 20b, 30b is read (step 804), and the read data is written in the zero-cross memory circuits 14, 24, 34 (step 805). Note that the zero-cross detection is executed between step 804 and step 805. Next, in step 806, it is determined whether or not reading has been completed for all pixels based on the value of the first counter 50. If not read, the process proceeds to step 807 to count up the first counter 50 and then to step Returning to 804, one-pixel reading and writing to the zero-cross memory circuits 14, 24 and 34 are performed (step 805). And the zero-cross memory circuit 14, 2
When data is written to 4 and 34, the first counter 50
Address operation circuit 15, 25, 35 based on the count signal of
It is memorized by specifying the address from. At this time, the address to be memorized is designated according to the equations (9), (10) and (11). If the address is negative, no writing is done.
【0028】全画素について読み出しが終了して前記ス
テップ806 の判定がYESとなれば、ステップ901 (図
9)に進んで第1カウンタ50をリセットする。そして、
ゼロクロスメモリ回路14、24、34からメモリを読み出し
(ステップ902 )、一致検出回路70にて中央部ゼロクロ
スメモリ回路14と右側ゼロクロスメモリ回路24、左側ゼ
ロクロスメモリ回路34のデータが一致するか否かを判断
する(ステップ903 )。データが一致している場合には
ステップ904 に進んで、当該時における、第1カウンタ
50のカウント信号(COUNTER1)の数値をアドレ
スデータとして、第2カウンタ60のカウンタ信号(CO
UNTER2)の数値を距離データとして、それぞれデ
ータメモリ回路80に書き込む。ステップ903 の判定がN
Oである場合にはステップ905に進んで、中央部ライン
センサ10bの有効な全画素に対応したメモリデータ(基
準データ)の読み出しが完了したか否かを第1カウンタ
50の値により判断し、完了していない場合にはステップ
906 に進んで第1カウンタ50をカウントアップしたのち
ステップ902に戻ってステップ905までを実行する。When the reading of all the pixels is completed and the determination in step 806 is YES, the process proceeds to step 901 (FIG. 9) to reset the first counter 50. And
The memory is read from the zero-cross memory circuits 14, 24, 34 (step 902), and the match detection circuit 70 determines whether or not the data in the central zero-cross memory circuit 14, the right-side zero-cross memory circuit 24, and the left-side zero-cross memory circuit 34 match. Judge (step 903). If the data match, the process proceeds to step 904, and the first counter at that time
Using the numerical value of the count signal (COUNTER1) of 50 as the address data, the counter signal (CO
The value of UNTER2) is written in the data memory circuit 80 as distance data. The judgment in step 903 is N
If it is O, the process proceeds to step 905, and a first counter is used to determine whether or not the reading of the memory data (reference data) corresponding to all the effective pixels of the central line sensor 10b is completed.
Judging by the value of 50, if not completed, step
After proceeding to 906 and counting up the first counter 50, the process returns to step 902 and steps up to step 905 are executed.
【0029】基準データの読み出しが完了したならばス
テップ905からステップ907に進んで、中央部ゼロクロス
メモリ回路14のデータに対して右側と左側のゼロクロス
メモリ回路24、34のデータが規定量シフトされて上記ス
テップ901からステップ905までが実行(シフト読み出
し)されたか否かを第2カウンタ60の値により判断する
(ステップ907 )。シフト読み出しが完了していない場
合には、第2カウンタ60をカウントアップしてステップ
901に戻り、ステップ902からステップ905 を繰り返す。
そして、シフト読み出しが完了した場合にはステップ90
9 に進む。When the reading of the reference data is completed, the routine proceeds from step 905 to step 907, in which the data of the right and left zero cross memory circuits 24, 34 are shifted by a specified amount with respect to the data of the central zero cross memory circuit 14. Whether or not the steps 901 to 905 have been executed (shift reading) is determined by the value of the second counter 60 (step 907). When the shift reading is not completed, the second counter 60 is counted up and the step is performed.
Return to 901 and repeat steps 902 to 905.
When the shift reading is completed, step 90
Go to 9.
【0030】このステップ901からステップ908までにお
けるメモリデータの読み出しは、アドレス演算回路15、
25、35によって、前記数9式、数10式、数11式に対応し
て、中央部ゼロクロスメモリ回路14からは、Reading of memory data from step 901 to step 908 is performed by the address calculation circuit 15,
25 and 35 correspond to the equations (9), (10), and (11), and from the central zero cross memory circuit 14,
【数12】ADDRESS=COUNTER1 右側ゼロクロスメモリ回路24からは、[Equation 12] ADDRESS = COUNTER1 From the right side zero cross memory circuit 24,
【数13】 ADDRESS=COUNTER1+COUNTER2 左側ゼロクロスメモリ回路34からは、[Expression 13] ADDRESS = COUNTER1 + COUNTER2 From the left zero-cross memory circuit 34,
【数14】ADDRESS=COUNTER1+S−C
OUNTER2 に従って読み出される。このときの書き込みアドレスと
読み出しアドレスとの関係を図10を参照して説明する。
なお、書き込みのアドレスは前記数9式、数10式、数11
式に従って行なわれ、既に補正量Cadj、Radj、Ladj
を含んでいるものとする。[Equation 14] ADDRESS = COUNTER1 + S−C
It is read according to OWNER2. The relationship between the write address and the read address at this time will be described with reference to FIG.
In addition, the write address is the above-mentioned equation 9, equation 10, equation 11
The correction amounts Cadj, Radj, Ladj have been performed according to the formula.
Shall be included.
【0031】図10(a)は第2カウンタ60のカウント信
号が0(COUNTER2=0)のときを示し、このと
き第1カウンタ50を0から(W−1)までインクリメン
トしながら(ステップ906)、ラインセンサ10b、20b、3
0bの各画素に対応したアドレスにメモリされたデータを
比較してそれらのデータの一致を検出する。したがっ
て、COUNTER2=0のときには、中央部ラインセ
ンサ10b と右側ラインセンサ20b の画素ではアドレスが
0から(W−1)までインクリメントされ、左側ライン
センサ30b の画素ではアドレスがSから(S+W−1)
までインクリメントされる。次いで第2カウンタ60をイ
ンクリメントし(ステップ908 )、第2カウンタ60のカ
ウンタ信号を1(COUNTER2=1)とした状態
で、第1カウンタ50を0から(W−1)までインクリメ
ントしながら(ステップ906 )、ラインセンサ10b、20
b、30b の各画素に対応したアドレスにメモリされたデ
ータを比較してそれらのデータの一致を検出する。した
がって、COUNTER2=1のときには、中央部ライ
ンセンサ10b に対してはアドレスが0から(W−1)ま
で、右側ラインセンサ20bに対しては1からWまで、左
側ラインセンサ30bに対しては(S−1)から(S+W
−2)までインクリメントされる。すなわち、右側ゼロ
クロスメモリ回路24と左側ゼロクロスメモリ回路34のメ
モリデータが、中央部ゼロクロスメモリ回路14のメモリ
データに対して1画素ずつずれて一致検出が行なわれる
ことになる。FIG. 10A shows the case where the count signal of the second counter 60 is 0 (COUNTER2 = 0), at which time the first counter 50 is incremented from 0 to (W-1) (step 906). , Line sensors 10b, 20b, 3
The data stored in the addresses corresponding to the respective pixels of 0b are compared to detect the coincidence of the data. Therefore, when COUNTER2 = 0, the addresses of the pixels of the central line sensor 10b and the right line sensor 20b are incremented from 0 to (W-1), and the addresses of the pixels of the left line sensor 30b are incremented from S to (S + W-1).
Is incremented up to. Then, the second counter 60 is incremented (step 908), and while the counter signal of the second counter 60 is set to 1 (COUNTER2 = 1), the first counter 50 is incremented from 0 to (W-1) (step 906), line sensors 10b, 20
The data stored in the addresses corresponding to the pixels b and 30b are compared to detect the coincidence of the data. Therefore, when COUNTER2 = 1, the address is 0 to (W-1) for the central line sensor 10b, 1 to W for the right line sensor 20b, and (for the left line sensor 30b). S-1) to (S + W
-2) is incremented. That is, the memory data of the right-side zero-cross memory circuit 24 and the left-side zero-cross memory circuit 34 are shifted pixel by pixel with respect to the memory data of the central zero-cross memory circuit 14 to perform coincidence detection.
【0032】そして、第2カウンタ60をインクリメント
しながら(ステップ908 )、第2カウンタ60のカウント
信号がCOUNTER2=Sとなるまで、一致検出が繰
り返される。なお、図11(a)はCOUNTER=S−
1のときを示し、図11(b)はCOUNTER2=Sの
ときを示している。Then, while incrementing the second counter 60 (step 908), the coincidence detection is repeated until the count signal of the second counter 60 becomes COUNTER2 = S. Note that FIG. 11A shows COUNTER = S-
1 is shown, and FIG. 11B shows the case where COUNTER2 = S.
【0033】すなわち、ゼロクロスメモリ回路14、24、
34のメモリデータがゼロクロス点に関して一致したとき
の第2カウンタ60の値が、前記数6式におけるずれ量X
p に相当する。そして、このずれ量がステップ904 にお
いてデータメモリ回路80に距離データとしてメモリされ
ることになる。That is, the zero-cross memory circuits 14, 24,
The value of the second counter 60 when the memory data of 34 coincides with each other at the zero-cross point is the deviation amount X in the equation (6).
Corresponds to p. Then, this shift amount is stored as distance data in the data memory circuit 80 in step 904.
【0034】前記ステップ907 で所定のシフト読み出し
の完了が判定されたならばステップ909に進み、ステッ
プ904でデータメモリ回路80に書き込まれた距離データ
が図示しない撮影レンズ駆動装置に出力されて、撮影レ
ンズが所定の位置まで移動して被写体に合焦することに
なる。If it is determined in step 907 that the predetermined shift reading is completed, the process proceeds to step 909, and the distance data written in the data memory circuit 80 in step 904 is output to a photographic lens driving device (not shown) for photographing. The lens moves to a predetermined position and focuses on the subject.
【0035】次に、図12ないし図16に示した第2実施例
を説明する。Next, the second embodiment shown in FIGS. 12 to 16 will be described.
【0036】この第2実施例では、受光センサ10、20、
30は適宜数の画素を並設した受光素子列からなる1本の
ラインセンサと3つの結像レンズとが組合わされて構成
されており、図13に示すようにカメラの前面には3つの
結像レンズ10a、20a、30a が配設され、被写体から発せ
られた光はこれらの結像レンズ10a、20a、30a を透過し
て後方に配設されたラインセンサ8の対応する部分に結
像する。したがって、ラインセンサ8は3つの部分に分
割されて構成され、それぞれラインセンサ中央部10b 、
ラインセンサ右部20b、ラインセンサ左部30bとしてあ
る。またこれら受光センサ10、20、30はそれぞれ中央部
センサ10、右側センサ20、左側センサ30とされており、
右側センサ20と左側センサ30のそれぞれの光軸20c、30c
は中央部センサ10の光軸10c を中心として対称の位置に
ある。In the second embodiment, the light receiving sensors 10, 20,
Reference numeral 30 denotes a combination of one line sensor consisting of a light receiving element array in which an appropriate number of pixels are arranged in parallel, and three image forming lenses, and as shown in FIG. Image lenses 10a, 20a, 30a are provided, and light emitted from a subject is transmitted through these imaging lenses 10a, 20a, 30a to form an image on a corresponding portion of a line sensor 8 provided behind. .. Therefore, the line sensor 8 is divided into three parts, and the line sensor central portion 10b,
The line sensor right part 20b and the line sensor left part 30b are provided. Further, these light receiving sensors 10, 20, 30 are respectively a central sensor 10, a right sensor 20, and a left sensor 30,
Optical axes 20c and 30c of the right sensor 20 and the left sensor 30, respectively
Are located symmetrically with respect to the optical axis 10c of the central sensor 10.
【0037】上記ラインセンサ8には、図12に示すよう
に、センサドライバ11からの駆動信号が入力され、ライ
ンセンサ8は該駆動信号に基づいて被写体からの光の捕
捉を開始する。また、センサドライバ11は駆動制御信号
線40a によって制御回路40に接続され、制御回路40から
出力される駆動制御信号によって制御される。As shown in FIG. 12, the drive signal from the sensor driver 11 is input to the line sensor 8, and the line sensor 8 starts capturing light from the subject based on the drive signal. Further, the sensor driver 11 is connected to the control circuit 40 by the drive control signal line 40a and is controlled by the drive control signal output from the control circuit 40.
【0038】他方上記ラインセンサ8の出力端子には、
図12に示すように、2次差分演算回路12が接続されてお
り、該2次差分演算回路12によってラインセンサ8で得
られた被写体の輝度分布信号の2次差分を演算する。こ
の2次差分演算回路12は、第1実施例で示した図3と同
様のものであり、前記数8式によって2次差分が演算さ
れる。On the other hand, at the output terminal of the line sensor 8,
As shown in FIG. 12, a quadratic difference calculation circuit 12 is connected, and the quadratic difference calculation circuit 12 calculates the quadratic difference of the luminance distribution signal of the subject obtained by the line sensor 8. This quadratic difference calculation circuit 12 is the same as that of FIG. 3 shown in the first embodiment, and the quadratic difference is calculated by the equation (8).
【0039】また、2次差分演算回路12の出力信号は、
図12に示すように、ゼロクロス検出回路13に入力されて
おり、2次差分演算回路12で得られた2次差分のゼロク
ロス点を検出する。このゼロクロス検出回路13は、第1
実施例の図5に示したものと同様である。The output signal of the second-order difference calculation circuit 12 is
As shown in FIG. 12, the zero-cross point which is input to the zero-cross detection circuit 13 and which is obtained by the second-order difference calculation circuit 12 is detected. This zero-cross detection circuit 13 has a first
It is similar to that shown in FIG. 5 of the embodiment.
【0040】上記ゼロクロス検出回路13によって得られ
たゼロクロス挙動の信号波形が、ラインセンサ中央部10
bに対応した部分とラインセンサ右部20bに対応した部
分、ラインセンサ左部30b に対応した部分とに分割され
て、各別にそれぞれゼロクロスメモリ回路14、24、34に
入力されて記憶される。このときゼロクロス挙動は、ラ
インセンサ8の中央部10bと右部20b、左部30b でアドレ
ス演算回路15、25、35から出力されるアドレスと対応し
て記憶される。また、これらアドレス演算回路15、25、
35には外部から操作される図示しない調整手段から調整
制御信号線15a 、25a、35aを介して偏差調整信号が入力
されている。この偏差調整信号は、既知の距離にある被
写体について測距を行なって受光センサ10、20、30の取
付誤差によって生じる補正量を求め、この補正量に対応
して、ゼロクロス点のデータを上記ゼロクロスメモリ回
路14、24、34に書き込みを開始する出力信号に対応する
ラインセンサ10b、20b、30b の画素の位置を設定するた
めの信号である。いま、これらの補正量を、中央部メモ
リ回路14に対する値をCadj とし、右側メモリ回路24に
対する値をRadjとし、左側メモリ回路34に対する値を
Ladjとすると、アドレス演算回路15、25、35には第1
カウンタ50のカウント信号(COUNTER1)が入力
され順次インクリメントしながら、中央部メモリ回路14
では、The signal waveform of the zero-cross behavior obtained by the zero-cross detection circuit 13 is the line sensor central portion 10
It is divided into a portion corresponding to b, a portion corresponding to the right portion of the line sensor 20b, and a portion corresponding to the left portion of the line sensor 30b, which are input and stored in the zero cross memory circuits 14, 24, 34 respectively. At this time, the zero-cross behavior is stored in the center portion 10b, the right portion 20b, and the left portion 30b of the line sensor 8 in correspondence with the addresses output from the address calculation circuits 15, 25, and 35. In addition, these address operation circuits 15, 25,
A deviation adjustment signal is input to the reference numeral 35 from an adjustment means (not shown) operated from the outside through the adjustment control signal lines 15a, 25a and 35a. This deviation adjustment signal measures the distance to a subject at a known distance to obtain the correction amount caused by the mounting error of the light receiving sensors 10, 20, 30. This is a signal for setting the position of the pixel of the line sensor 10b, 20b, 30b corresponding to the output signal for starting writing to the memory circuits 14, 24, 34. Assuming that these correction amounts are Cadj for the central memory circuit 14, Radj for the right side memory circuit 24 and Ladj for the left side memory circuit 34, the address arithmetic circuits 15, 25 and 35 have the following values. First
While the count signal (COUNTER1) of the counter 50 is input and incremented sequentially, the central memory circuit 14
Then
【数15】ADDRESS=COUNTER1−Cadj 右側メモリ回路24では、[Expression 15] ADDRESS = COUNTER1-Cadj In the right side memory circuit 24,
【数16】ADDRESS=COUNTER1−Radj 左側メモリ回路34では、## EQU16 ## ADDRESS = COUNTER1-Radj In the left side memory circuit 34,
【数17】ADDRESS=COUNTER1−Ladj に従って各画素に応じてそれぞれのアドレスに記憶され
る。また調整範囲をAとすれば、0 < Cadj、Radj、
Ladj < A−1 とする。[Equation 17] According to ADDRESS = COUNTER1-Ladj, each address is stored according to each pixel. If the adjustment range is A, then 0 <Cadj, Radj,
Let Ladj <A-1.
【0041】また、上記アドレス演算回路25、35には第
2カウンタ60のカウント信号(COUNTER2)が入
力されており、該第2カウンタ60および前記第1カウン
タ50は制御回路40の出力信号に基づいてカウントアップ
とリセットとが行なわれる。この第2カウンタ60は、後
述するように、ゼロクロスメモリ回路24、34からデータ
の読み出しを行なう場合にアドレスをインクリメントす
る。また、アドレス演算回路25、35には制御回路40から
アドレス処理情報が入力され、該アドレス処理情報に基
づいてアドレス演算回路25、35からゼロクロスメモリ回
路24、34に対して所定の書込み信号と読み出し信号とが
出力される。Further, the count signal (COUNTER2) of the second counter 60 is inputted to the address arithmetic circuits 25 and 35, and the second counter 60 and the first counter 50 are based on the output signal of the control circuit 40. Counting up and resetting. The second counter 60 increments the address when data is read from the zero-cross memory circuits 24 and 34, as will be described later. Further, address processing information is input to the address arithmetic circuits 25 and 35 from the control circuit 40, and based on the address processing information, a predetermined write signal and read from the address arithmetic circuits 25 and 35 to the zero-cross memory circuits 24 and 34. The signals and are output.
【0042】そして、上記ゼロクロスメモリ回路14、2
4、34の出力側には一致検出回路70が接続されており、
該一致検出回路70の出力側は制御回路40に接続されてい
る。Then, the zero cross memory circuits 14 and 2 are
A match detection circuit 70 is connected to the output side of 4, 34,
The output side of the coincidence detection circuit 70 is connected to the control circuit 40.
【0043】また、第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 counter 60 is input to the distance data port 82 of the data memory circuit 80. Further, the count signals of the first counter 50 and the second counter 60 are both input to the control circuit 40. Further, the control circuit 40 outputs a data memory signal to the data memory circuit 80, and the address data and the distance data are stored in the data memory circuit 80 based on the signal.
【0044】次に図14ないし図16に基づいて、被写体の
輝度情報のメモリの書き込みと読み出しの手順を説明す
る。Next, the procedure for writing and reading the brightness information of the subject in the memory will be described with reference to FIGS. 14 to 16.
【0045】測距が開始されるとラインセンサ8に電荷
が蓄積され(ステップ1401)、第2カウンタ60がリセッ
トされ(ステップ1402)、制御回路内の図示しない読み
出し画素数カウンタがリセットされる(ステップ140
3)。When the distance measurement is started, electric charges are accumulated in the line sensor 8 (step 1401), the second counter 60 is reset (step 1402), and the readout pixel number counter (not shown) in the control circuit is reset (step 1402). Step 140
3).
【0046】ラインセンサ8は1本で構成されているか
ら、まずそのうちのラインセンサ左部30b に関する部分
の最初の画素の読み出しが開始されたか否かが読み出し
画素数カウンタの値により判断され(ステップ1404)、
当該最初の部分の読み出しが開始されるまで1画素ずつ
出力される(ステップ1405)。当該最初の部分の読み出
しが開始されたならば、第1カウンタ50がリセットされ
る(ステップ1406)。そして、ラインセンサ左部30b の
1画素に対応したデータを読み出して(ステップ140
7)、読み出されたデータを左側ゼロクロスメモリ回路3
4に書き込む(ステップ1408)。なお、ステップ1407と
ステップ1408との間でゼロクロス検出が実行される。次
いでステップ1409に進んで全画素について読み出しが完
了したか否かを第1カウンタ50の値により判断し、読み
出されていない場合にはステップ1410に進んで第1カウ
ンタ50をカウントアップしたのちステップ1407に戻って
1画素読み出しと左側ゼロクロスメモリ回路34への書き
込みが行なわれる(ステップ1408)。そして左側ゼロク
ロスメモリ回路34にデータが書き込まれる際には、第1
カウンタ50のカウント信号に基づいてアドレス演算回路
35からアドレスを指定されてメモリされる。このとき、
メモリされるアドレスは、前記数17式に従って指定され
る。なお、アドレスが負の場合には書き込みは行なわれ
ない。Since the line sensor 8 is composed of one line, first, it is judged from the value of the read pixel number counter whether or not the reading of the first pixel of the portion related to the line sensor left portion 30b has been started (step 1404),
The pixels are output pixel by pixel until the reading of the first portion is started (step 1405). When the reading of the first portion is started, the first counter 50 is reset (step 1406). Then, the data corresponding to one pixel in the left portion 30b of the line sensor is read (step 140
7) Read the read data to the left zero cross memory circuit 3
Write to 4 (step 1408). Note that the zero-cross detection is executed between step 1407 and step 1408. Next, the procedure proceeds to step 1409, and it is determined whether or not the reading has been completed for all pixels based on the value of the first counter 50. If not, the procedure proceeds to step 1410 to count up the first counter 50 and then the step Returning to 1407, one pixel reading and writing to the left zero cross memory circuit 34 are performed (step 1408). When data is written to the left zero-cross memory circuit 34, the first
Address arithmetic circuit based on the count signal of counter 50
It is memorized by specifying an address from 35. At this time,
The address to be memorized is designated according to the equation (17). If the address is negative, no writing is done.
【0047】ラインセンサ左部30b の全画素の読み出し
が完了してステップ1409でYESとなると、ステップ15
03(図15)に進んでラインセンサ中央部10b に関する部
分の最初の画素の読み出しが開始されたか否かが読み出
し画素数カウンタの値により判断され、当該最初の部分
の読み出しが開始されるまで1画素ずつ出力される(ス
テップ1504)。当該最初の部分の読み出しが開始された
ならば第1カウンタ50がリセットされ(ステップ150
5)、前記ステップ1407から1410と同様に、ラインセン
サ中央部10b に関して、ゼロクロス検出が行なわれなが
ら、1画素ずつの読み出し(ステップ1506)と中央部ゼ
ロクロスメモリ14への書き込み(ステップ1507)、第1
カウンタ50の値によるラインセンサ中央部10b の全画素
についての読み出し完了の判断(ステップ1508)とが第
1カウンタ50をカウントアップしながら(ステップ150
9)繰り返される。なお、メモりされるアドレスは、数1
5式に従って指定される。なお、アドレスが負の場合に
は書き込みは行なわれない。When the reading of all the pixels of the left portion 30b of the line sensor is completed and YES is obtained in step 1409, step 15
The process proceeds to 03 (FIG. 15) to determine whether the reading of the first pixel of the portion related to the central portion 10b of the line sensor is started or not by the value of the read pixel number counter, and 1 is read until the reading of the first portion is started. It is output pixel by pixel (step 1504). When the reading of the first portion is started, the first counter 50 is reset (step 150).
5) As in steps 1407 to 1410, with respect to the central portion 10b of the line sensor, while the zero-crossing detection is being performed, reading is performed pixel by pixel (step 1506) and writing to the central portion zero-cross memory 14 (step 1507). 1
The determination of completion of reading of all the pixels in the central portion 10b of the line sensor based on the value of the counter 50 (step 1508) and counting up the first counter 50 (step 150
9) Repeated. The address to be memorized is the number 1
5 Specified according to formula. If the address is negative, no writing is done.
【0048】ラインセンサ中央部10b の全画素について
の読み出しが完了してステップ1508においてYESと判
断されると、ステップ1603(図16)に進んで、1画素ず
つ出力しながら(ステップ1604)ラインセンサ右部20b
に関する部分の最初の画素の読み出し開始が読み出し画
素数カウンタの値により判断され、当該最初の部分の読
み出しが開始されたならば第1カウンタ50がリセットさ
れる(ステップ1605)。そして、ラインセンサ左部30b
とラインセンサ中央部10bに関する手順と同様に、ライ
ンセンサ右部20b に関して、ゼロクロス検出が行なわれ
ながら、1画素ずつの読み出し(ステップ1606)と右側
ゼロクロスメモリ24への書き込み(ステップ1607)、第
1カウンタ50の値によるラインセンサ右部20b の全画素
についての読み出し完了の判断(ステップ1608)とが第
1カウンタ50をカウントアップしながら(ステップ160
9)繰り返される。右側ゼロクロスメモリ回路24にデー
タが書き込まれる際には、第1カウンタ50のカウント信
号に基づいてアドレス演算回路25から数16式に従って指
定されたアドレスにメモリされる。なお、アドレスが負
の場合には書き込みは行なわれない。When the reading of all the pixels of the central portion 10b of the line sensor is completed and YES is determined in step 1508, the process proceeds to step 1603 (FIG. 16), outputting one pixel at a time (step 1604). Right part 20b
The start of reading the first pixel of the portion related to is determined by the value of the read pixel number counter, and if the reading of the first portion is started, the first counter 50 is reset (step 1605). And the line sensor left part 30b
Similarly to the procedure for the central portion 10b of the line sensor and the right portion 20b of the line sensor, while the zero-cross detection is being performed, reading is performed pixel by pixel (step 1606) and writing to the right-side zero-cross memory 24 (step 1607), first. The determination of the completion of reading of all the pixels of the right portion 20b of the line sensor according to the value of the counter 50 (step 1608) and counting up the first counter 50 (step 160
9) Repeated. When data is written in the right-side zero-cross memory circuit 24, it is stored in the address designated by the address arithmetic circuit 25 according to the equation 16 based on the count signal of the first counter 50. If the address is negative, no writing is done.
【0049】ラインセンサ8の全画素について読み出し
が終了して前記ステップ1608の判定がYESとなれば、
図9に示したステップ901からステップ909に至る手順と
同様に、ゼロクロスメモリ回路14、24、34からメモリデ
ータが読み出され、一致検出回路70にて中央部ゼロクロ
スメモリ回路14と右側ゼロクロスメモリ回路24、左側ゼ
ロクロスメモリ回路34のデータが一致するか否かが判断
される。そして、シフト読み出しが完了した場合には、
データメモリ回路80から測距データが出力される(ステ
ップ909 )。If the reading of all the pixels of the line sensor 8 is completed and the determination in step 1608 is YES,
Similar to the procedure from step 901 to step 909 shown in FIG. 9, the memory data is read from the zero cross memory circuits 14, 24 and 34, and the coincidence detection circuit 70 reads the central zero cross memory circuit 14 and the right zero cross memory circuit. 24. It is determined whether or not the data of the left zero cross memory circuit 34 match. Then, when the shift reading is completed,
Distance measurement data is output from the data memory circuit 80 (step 909).
【0050】ゼロクロスメモリ回路14、24、34のメモリ
データの一致検出の手順においては、第1カウンタ50と
アドレス演算回路15、25、35によって、前記数15式、数
16式、数17式に対応して、前記第1実施例の数12式と数
13式、数14式と同様に、中央部ゼロクロスメモリ回路14
からは、In the procedure of detecting the coincidence of the memory data of the zero-cross memory circuits 14, 24, 34, the first counter 50 and the address operation circuits 15, 25, 35 are used to calculate
Corresponding to equation 16 and equation 17, equation 12 and number of the first embodiment
As in formulas 13 and 14, the central zero-cross memory circuit 14
From
【数18】ADDRESS=COUNTER1 右側ゼロクロスメモリ回路24からは、[Expression 18] ADDRESS = COUNTER1 From the right side zero cross memory circuit 24,
【数19】 ADDRESS=COUNTER1+COUNTER2 左側ゼロクロスメモリ回路34からは、ADDRESS = COUNTER1 + COUNTER2 From the left zero-cross memory circuit 34,
【数20】ADDRESS=COUNTER1+S−C
OUNTER2 に従って読み出される。なお、数20式の中のSは定数で
ある。このときの書き込みアドレスと読み出しアドレス
との関係は、第1実施例の図10および図11と同様であ
り、書き込みのアドレスは前記数15式、数16式、数17式
に従って行なわれ、既に補正量Cadj、Radj、Ladj を
含んでいるものとする。[Equation 20] ADDRESS = COUNTER1 + S−C
It is read according to OWNER2. Note that S in the equation (20) is a constant. The relationship between the write address and the read address at this time is the same as in FIGS. 10 and 11 of the first embodiment, and the write address is performed according to the above equations (15), (16) and (17) and has already been corrected. It is assumed that the quantities Cadj, Radj, Ladj are included.
【0051】この第2実施例によれば、ラインセンサを
1本としこれを3つに分割して用いるようにしたから、
上記2次差分演算回路とゼロクロス検出回路もそれぞれ
1組ずつとなる。このため、3本のラインセンサを用い
る第1実施例に示した測距装置では、それぞれのライン
センサに対応して2次差分演算回路とゼロクロス検出回
路とが3組ずつ配設される構造となるが、第2実施例に
係る測距装置では1本のラインセンサと、1組の2次差
分演算回路、ゼロクロス検出回路とでよく、部品点数を
少なくすることができる。According to the second embodiment, one line sensor is used, and this line sensor is divided into three and used.
The second-order difference calculation circuit and the zero-cross detection circuit are also provided in pairs. For this reason, in the distance measuring device using the three line sensors according to the first embodiment, three pairs of the second-order difference calculation circuit and the zero-cross detection circuit are provided for each line sensor. However, in the distance measuring apparatus according to the second embodiment, one line sensor, one set of second-order difference calculation circuit, and zero-cross detection circuit are sufficient, and the number of parts can be reduced.
【0052】次に図17に示す第3実施例について説明す
る。なお、第1実施例または第2実施例と同一の部分は
同一の符号を付して、その説明を省略する。Next, a third embodiment shown in FIG. 17 will be described. The same parts as those in the first or second embodiment are designated by the same reference numerals, and the description thereof will be omitted.
【0053】この実施例では、第2実施例に示すものと
同様に1本のラインセンサ8を3つに分割して、それぞ
れラインセンサ中央部10b、ラインセンサ右部20b、ライ
ンセンサ左部30b としてある。そして、このラインセン
サ8の出力信号が2次差分演算回路12に入力されて、数
8式によって2次差分が演算され、その2次差分出力が
ゼロクロス検出回路13に入力されている。In this embodiment, as in the second embodiment, one line sensor 8 is divided into three, and the line sensor central portion 10b, the line sensor right portion 20b, and the line sensor left portion 30b are respectively divided. There is. The output signal of the line sensor 8 is input to the secondary difference calculation circuit 12, the secondary difference is calculated by the equation (8), and the secondary difference output is input to the zero-cross detection circuit 13.
【0054】上記ゼロクロス検出回路13によって得られ
たゼロクロス挙動の信号波形が、ラインセンサ中央部10
bに対応した部分とラインセンサ右部20bに対応した部
分、ラインセンサ左部30b に対応した部分とに分割され
て、各別にそれぞれゼロクロスメモリ回路14、24、34に
入力されて記憶される。このときゼロクロス挙動は、ラ
インセンサ8の右部20bと左部30bでは画素位置に対応し
てアドレス演算回路25、35から出力されるアドレスと対
応して記憶され、ラインセンサ中央部10b では第1カウ
ンタ50のカウント信号(COUNTER1)に応じて記
憶される。すなわち、アドレス演算回路25、35には第1
カウンタ50のカウント信号(COUNTER1)が入力
され、中央部メモリ回路14にはカウント信号(COUN
TER1)が入力されて順次インクリメントしながら、
中央部メモリ回路14では、The signal waveform of the zero-cross behavior obtained by the zero-cross detection circuit 13 is the line sensor central portion 10
It is divided into a portion corresponding to b, a portion corresponding to the right portion of the line sensor 20b, and a portion corresponding to the left portion of the line sensor 30b, which are input and stored in the zero cross memory circuits 14, 24, 34 respectively. At this time, the zero-crossing behavior is stored in the right part 20b and the left part 30b of the line sensor 8 in correspondence with the addresses output from the address operation circuits 25 and 35 in correspondence with the pixel position, and in the line sensor central part 10b, the first crossing behavior is stored. It is stored according to the count signal (COUNTER1) of the counter 50. That is, the address arithmetic circuits 25 and 35 have the first
The count signal (COUNTER1) of the counter 50 is input, and the count signal (COUNT
TER1) is input and increments sequentially,
In the central memory circuit 14,
【数21】ADDRESS=COUNTER1 右側メモリ回路24では、[Expression 21] ADDRESS = COUNTER1 In the right side memory circuit 24,
【数22】ADDRESS=COUNTER1 左側メモリ回路34では、[Equation 22] ADDRESS = COUNTER1 In the left side memory circuit 34,
【数23】ADDRESS=COUNTER1 に従って各画素に応じてそれぞれのアドレスに記憶され
る。[Equation 23] According to ADDRESS = COUNTER1, it is stored in each address according to each pixel.
【0055】また、上記アドレス演算回路25、35には第
2カウンタ60のカウント信号(COUNTER2)が入
力されており、該第2カウンタ60および前記第1カウン
タ50は制御回路40の出力信号に基づいてカウントアップ
とリセットとが行なわれる。この第2カウンタ60は、ゼ
ロクロスメモリ回路24、34からデータの読み出しを行な
う場合にアドレスをインクリメントする。また、アドレ
ス演算回路25、35には制御回路40からアドレス処理情報
が入力され、該アドレス処理情報に基づいてアドレス演
算回路25、35からゼロクロスメモリ回路24、34に対して
所定の書込み信号と読み出し信号とが出力される。Further, the count signal (COUNTER2) of the second counter 60 is inputted to the address arithmetic circuits 25 and 35, and the second counter 60 and the first counter 50 are based on the output signal of the control circuit 40. Counting up and resetting. The second counter 60 increments the address when reading data from the zero-cross memory circuits 24 and 34. Further, address processing information is input to the address arithmetic circuits 25 and 35 from the control circuit 40, and based on the address processing information, a predetermined write signal and read from the address arithmetic circuits 25 and 35 to the zero-cross memory circuits 24 and 34. The signals and are output.
【0056】そして、上記ゼロクロスメモリ回路14、2
4、34の出力側には一致検出回路70が接続されており、
該一致検出回路70の出力側は制御回路40に接続されてい
る。Then, the zero-cross memory circuits 14 and 2 are
A match detection circuit 70 is connected to the output side of 4, 34,
The output side of the coincidence detection circuit 70 is connected to the control circuit 40.
【0057】また、第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 counter 60 is input to the distance data port 82 of the data memory circuit 80. Further, the count signals of the first counter 50 and the second counter 60 are both input to the control circuit 40. Further, the control circuit 40 outputs a data memory signal to the data memory circuit 80, and the address data and the distance data are stored in the data memory circuit 80 based on the signal.
【0058】さらに、上記制御回路40には、外部から操
作される図示しない調整手段から調整制御信号線40b、4
0c、40d を介して偏差調整信号が入力されている。この
偏差調整信号は、既知の距離にある被写体について測距
を行なって受光センサ10、20、30の取付誤差によって生
じる補正量を求め、この補正量に対応して、ゼロクロス
点のデータを上記ゼロクロスメモリ回路14、24、34に書
き込みを開始する出力信号に対応するラインセンサ10
b、20b、30b の画素の位置を設定するための信号であ
り、ラインセンサ左部30bとラインセンサ中央部10b、ラ
インセンサ右部20bとに関する部分の最初の画素の読み
出しが開始されたか否か、読み出し画素数カウンタによ
り判断する値にオフセットを与え、予めオフセットされ
た読み出し画素位置より書き込みを開始し、カウント信
号(COUNTER1)によって前記ゼロクロスメモリ
回路14、アドレス演算回路25、35を駆動する。Further, in the control circuit 40, adjustment control signal lines 40b, 4b from the adjusting means (not shown) operated from the outside are supplied.
Deviation adjustment signal is input via 0c and 40d. This deviation adjustment signal measures the distance to a subject at a known distance to obtain the correction amount caused by the mounting error of the light receiving sensors 10, 20, 30. The line sensor 10 corresponding to the output signal that starts writing to the memory circuits 14, 24 and 34
It is a signal for setting the position of the pixel of b, 20b, 30b, and whether or not the reading of the first pixel of the part related to the line sensor left part 30b, the line sensor central part 10b, and the line sensor right part 20b is started. An offset is given to the value determined by the read pixel number counter, writing is started from the read pixel position offset in advance, and the zero cross memory circuit 14 and the address arithmetic circuits 25 and 35 are driven by the count signal (COUNTER1).
【0059】そして、被写体の輝度情報のメモリの書き
込みと読み出しの手順は、第2実施例の場合と同様であ
り、受光センサ10、20、30の取付誤差を補正するため
に、ゼロクロスメモリ回路14、24、34への書き込みが予
めオフセットされた状態で実行される。したがって、書
き込みは既にオフセットされた状態で、アドレス演算回
路25、35には第1カウンタ50のカウント信号(COUN
TER1)が入力され、中央部メモリ回路14にはカウン
ト信号(COUNTER1)が入力されて順次インクリ
メントしながら、中央部メモリ回路14では、The procedure for writing and reading the brightness information of the object in and from the memory is the same as in the second embodiment, and the zero cross memory circuit 14 is used to correct the mounting error of the light receiving sensors 10, 20, 30. , 24, 34 are executed in a pre-offset state. Therefore, with the writing already offset, the count signal (COUNT) of the first counter 50 is sent to the address operation circuits 25 and 35.
TER1) is input, the count signal (COUNTER1) is input to the central memory circuit 14, and the central memory circuit 14 increments sequentially.
【数24】ADDRESS=COUNTER1 右側メモリ回路24では、[Equation 24] ADDRESS = COUNTER1 In the right side memory circuit 24,
【数25】ADDRESS=COUNTER1 左側メモリ回路34では、[Expression 25] ADDRESS = COUNTER1 In the left side memory circuit 34,
【数26】ADDRESS=COUNTER1 に従って各画素に応じてそれぞれのアドレスに記憶され
る。また、メモリデータの読み出しは、第1カウンタ50
とアドレス演算回路25、35によって、中央部ゼロクロス
メモリ回路14からは、[Equation 26] According to ADDRESS = COUNTER1, it is stored in each address according to each pixel. Moreover, the reading of the memory data is performed by the first counter 50.
And address arithmetic circuits 25 and 35 from the central zero-cross memory circuit 14,
【数27】ADDRESS=COUNTER1 右側ゼロクロスメモリ回路24からは、[Equation 27] ADDRESS = COUNTER1 From the right side zero cross memory circuit 24,
【数28】 ADDRESS=COUNTER1+COUNTER2 左側ゼロクロスメモリ回路34からは、[Equation 28] ADDRESS = COUNTER1 + COUNTER2 From the left zero-cross memory circuit 34,
【数29】ADDRESS=COUNTER1+S−C
OUNTER2 に従って読み出される。なお、数29式の中のSは定数で
ある。また、このときの書き込みアドレスと読み出しア
ドレスとの関係は図10および図11の場合と同様である。[Equation 29] ADDRESS = COUNTER1 + S−C
It is read according to OWNER2. Note that S in the equation (29) is a constant. Further, the relationship between the write address and the read address at this time is the same as in the cases of FIGS. 10 and 11.
【0060】[0060]
【発明の効果】以上説明したようにこの発明に係るパッ
シブ型オートフォーカス装置用測距装置によれば、3つ
のラインセンサで被写体輝度を捕捉しそのデータから2
次差分を演算し、該2次差分のゼロクロス点を特徴点と
してそのゼロクロスデータを記憶し、3つのうちの1つ
を基準のゼロクロスデータとして他の2つのゼロクロス
データを順次1画素ずつずらしながら3つのデータがゼ
ロクロス点に関して一致するか否かを比較して、一致し
たときのずらし量を距離データとして被写体までの距離
を演算するようにしたから、相関演算して距離データを
求めるものに比べて演算処理速度が速くなる。このた
め、動的な被写体を確実に捕捉して素早いピント合わせ
を行なうことができる。As described above, according to the distance measuring apparatus for the passive type autofocus device according to the present invention, the brightness of the subject is captured by the three line sensors, and the data of 2 is obtained from the data.
The next difference is calculated, the zero-cross data of the second-order difference is used as a feature point and the zero-cross data is stored, and one of the three zero-cross data is used as the reference zero-cross data, and the other two zero-cross data are sequentially shifted by one pixel. Compares whether or not two data match at the zero-cross point, and calculates the distance to the subject using the shift amount at the time of matching as the distance data. The processing speed becomes faster. Therefore, it is possible to reliably capture a dynamic subject and perform quick focusing.
【0061】しかも、ゼロクロス点のデータのゼロクロ
スメモリ回路に書き込みを開始する出力信号に対応する
ラインセンサの画素の位置を外部からの操作によって調
整できるようにしたから、受光センサをこの測距装置に
取り付ける際に取付誤差が生じた場合でも、被写体の輝
度情報を確実に演算処理することができ、誤測距が極力
防止される。Moreover, since the position of the pixel of the line sensor corresponding to the output signal for starting the writing of the zero-cross point data in the zero-cross memory circuit can be adjusted by an external operation, the light-receiving sensor can be used in this range finder. Even if an attachment error occurs during attachment, the brightness information of the subject can be reliably calculated and erroneous distance measurement can be prevented as much as possible.
【0062】加えて、2次差分のゼロクロスデータを比
較するものであるため、ラインセンサ上の被写体輝度分
布のパターンに依存することがないから、高精度に距離
データを取得することができる。In addition, since the zero-cross data of the second-order difference is compared, the distance data can be obtained with high accuracy because it does not depend on the pattern of the subject brightness distribution on the line sensor.
【図1】このパッシブ型オートフォーカス装置用測距装
置の第1実施例の回路ブロック図である。FIG. 1 is a circuit block diagram of a first embodiment of a distance measuring device for a passive autofocus device.
【図2】第1実施例の受光センサの概略の構造を示す側
面図である。FIG. 2 is a side view showing a schematic structure of the light receiving sensor of the first embodiment.
【図3】ラインセンサの出力から2次差分を演算する2
次差分演算回路の回路図である。FIG. 3 is a diagram for calculating a secondary difference from the output of the line sensor 2
It is a circuit diagram of a next difference calculation circuit.
【図4】図3の回路におけるタイムチャートである。FIG. 4 is a time chart in the circuit of FIG.
【図5】2次差分演算回路によって求められた2次差分
信号からゼロクロス点を検出するゼロクロス検出回路の
回路図である。FIG. 5 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.
【図6】図5の回路におけるタイムチャートである。FIG. 6 is a time chart in the circuit of FIG.
【図7】被写体輝度分布とそれに対する1次差分と2次
差分を示す図である。FIG. 7 is a diagram showing a subject brightness distribution and first-order differences and second-order differences corresponding thereto.
【図8】ラインセンサから得られたデータをゼロクロス
メモリ回路に書き込む手順を示す第1実施例に係るフロ
ーチャートである。FIG. 8 is a flowchart according to a first embodiment showing a procedure for writing data obtained from a line sensor into a zero cross memory circuit.
【図9】ゼロクロスメモリ回路に記憶されたデータの一
致を検出するために、該ゼロクロスメモリ回路から所定
のデータを読み出す手順を示す第1実施例に係るフロー
チャートである。FIG. 9 is a flowchart according to the first embodiment showing a procedure of reading out predetermined data from the zero-cross memory circuit in order to detect the coincidence of the data stored in the zero-cross memory circuit.
【図10】第1実施例におけるゼロクロスメモリ回路に
記憶されたデータを読み出して比較する際の操作手順を
説明する図である。FIG. 10 is a diagram illustrating an operation procedure for reading and comparing data stored in the zero-cross memory circuit according to the first embodiment.
【図11】第1実施例におけるゼロクロスメモリ回路に
記憶されたデータを読み出して比較する際の操作手順を
説明する図である。FIG. 11 is a diagram illustrating an operation procedure for reading and comparing data stored in the zero-cross memory circuit according to the first embodiment.
【図12】このパッシブ型オートフォーカス装置用測距
装置の第2実施例の回路ブロック図である。FIG. 12 is a circuit block diagram of a second embodiment of the distance measuring device for the passive type autofocus device.
【図13】第2実施例の受光センサの概略の構造を示す
側面図である。FIG. 13 is a side view showing a schematic structure of a light receiving sensor of a second embodiment.
【図14】ラインセンサから得られたデータをゼロクロ
スメモリ回路に書き込む手順を示す第2実施例に係るフ
ローチャートであって、ラインセンサの左部に関するも
のである。FIG. 14 is a flowchart showing a procedure for writing data obtained from the line sensor in the zero-cross memory circuit according to the second embodiment, which relates to the left part of the line sensor.
【図15】ラインセンサから得られたデータをゼロクロ
スメモリ回路に書き込む手順を示す第2実施例に係るフ
ローチャートであって、ラインセンサの中央部に関する
ものである。FIG. 15 is a flowchart showing a procedure of writing data obtained from the line sensor in the zero-cross memory circuit according to the second embodiment, which relates to the central portion of the line sensor.
【図16】ラインセンサから得られたデータをゼロクロ
スメモリ回路に書き込む手順を示す第2実施例に係るフ
ローチャートであって、ラインセンサの右部に関するも
のである。FIG. 16 is a flowchart according to the second embodiment showing the procedure for writing the data obtained from the line sensor to the zero-cross memory circuit, which relates to the right part of the line sensor.
【図17】このパッシブ型オートフォーカス装置用測距
装置の第3実施例の回路ブロック図である。FIG. 17 is a circuit block diagram of a third embodiment of the distance measuring device for the passive autofocus device.
【図18】受光センサの取付誤差を説明するための図で
ある。FIG. 18 is a diagram for explaining a mounting error of the light receiving sensor.
【図19】測距原理を示す光路図である。FIG. 19 is an optical path diagram showing the principle of distance measurement.
【図20】測距原理に基づいて測定手順を説明するため
の図で、受光素子列で検出される被写体像の輝度分布に
関する信号図である。FIG. 20 is a diagram for explaining the measurement procedure based on the principle of distance measurement, and is a signal diagram relating to the luminance distribution of the subject image detected by the light receiving element array.
10 受光センサ 20 受光センサ 30 受光センサ 10a 結像レンズ 20a 結像レンズ 30a 結像レンズ 10b 中央部ラインセンサ 20b 右側ラインセンサ 30b 左側ラインセンサ 11、21、31 センサドライバ 12、22、32 2次差分演算回路 13、23、33 ゼロクロス検出回路 14、24、34 ゼロクロスメモリ回路 15、25、35 アドレス演算回路 15a、25a、35a 調整制御信号線 40 制御回路 40b、40c、40d 調整制御信号線 50 第1カウンタ 60 第2カウンタ 70 一致検出回路 80 データメモリ回路 10 Light receiving sensor 20 Light receiving sensor 30 Light receiving sensor 10a Image forming lens 20a Image forming lens 30a Image forming lens 10b Central line sensor 20b Right line sensor 30b Left line sensor 11, 21, 31 Sensor driver 12, 22, 32 Second-order difference calculation Circuits 13, 23, 33 Zero-cross detection circuits 14, 24, 34 Zero-cross memory circuits 15, 25, 35 Address operation circuits 15a, 25a, 35a Adjustment control signal line 40 Control circuits 40b, 40c, 40d Adjustment control signal line 50 1st counter 60 Second counter 70 Match detection circuit 80 Data memory circuit
Claims (1)
センサと、上記それぞれの受光センサの出力信号の2次
差分を算出する2次差分演算回路と、上記それぞれの2
次差分演算回路の出力信号のゼロクロス点を検出するゼ
ロクロス検出回路と、上記それぞれのゼロクロス検出回
路によって得られたゼロクロス挙動信号を記憶するゼロ
クロスメモリ回路と、上記それぞれのゼロクロスメモリ
回路に記憶されたゼロクロス挙動信号を比較してこれら
の一致を検出する一致検出回路とからなり、上記ゼロク
ロス点のデータの上記ゼロクロスメモリ回路に書き込み
を開始する出力信号に対応するラインセンサの画素の位
置を外部からの操作によって調整する調整手段を設け、
個々の受光センサに応じて該調整手段によってゼロクロ
スメモリ回路への書き込み開始位置を調整し、上記3組
の受光センサのうちの1つを基準とし該基準の受光セン
サから得られたゼロクロス挙動信号に対して、他の2つ
の受光センサから得られたゼロクロス挙動信号を順次ス
ライドさせてこれらのゼロクロス挙動信号の一致を上記
一致検出回路により検出し、該スライド量から被写体ま
での距離を演算することを特徴とするパッシブ型オート
フォーカス装置用測距装置。1. A set of three light receiving sensors for capturing a luminance distribution of an object, a second order difference calculation circuit for calculating a second order difference between output signals of the respective light receiving sensors, and each of the above two sets.
Zero-cross detection circuit for detecting the zero-cross point of the output signal of the next difference calculation circuit, zero-cross memory circuit for storing the zero-cross behavior signal obtained by the respective zero-cross detection circuit, and zero-cross stored in the respective zero-cross memory circuit It consists of a coincidence detection circuit that compares behavior signals and detects these coincidences, and externally operates the position of the pixel of the line sensor corresponding to the output signal that starts writing the data of the zero cross point to the zero cross memory circuit. Adjusting means to adjust by
The write start position to the zero-cross memory circuit is adjusted by the adjusting means according to each light-receiving sensor, and one of the three light-receiving sensors is used as a reference, and the zero-cross behavior signal obtained from the reference light-receiving sensor is used. On the other hand, the zero-cross behavior signals obtained from the other two light-receiving sensors are sequentially slid to detect the coincidence of these zero-cross behavior signals by the coincidence detection circuit, and the distance from the slide amount to the subject is calculated. A distance measuring device for the passive autofocus device that features.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29520791A JP3064064B2 (en) | 1991-10-15 | 1991-10-15 | Distance measuring device for passive autofocus system |
US07/958,665 US5257061A (en) | 1991-10-15 | 1992-10-08 | Range finder for passive-type autofocusing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29520791A JP3064064B2 (en) | 1991-10-15 | 1991-10-15 | Distance measuring device for passive autofocus system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH05107061A true JPH05107061A (en) | 1993-04-27 |
JP3064064B2 JP3064064B2 (en) | 2000-07-12 |
Family
ID=17817594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP29520791A Expired - Fee Related JP3064064B2 (en) | 1991-10-15 | 1991-10-15 | Distance measuring device for passive autofocus system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3064064B2 (en) |
-
1991
- 1991-10-15 JP JP29520791A patent/JP3064064B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP3064064B2 (en) | 2000-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0311443B2 (en) | ||
JP3064064B2 (en) | Distance measuring device for passive autofocus system | |
US5257061A (en) | Range finder for passive-type autofocusing device | |
JP2954720B2 (en) | Distance measuring device for passive autofocus system | |
JPH10311721A (en) | Range-finding device | |
JP2954722B2 (en) | Distance measuring device for passive autofocus system | |
JP2954724B2 (en) | Distance measuring device for passive autofocus system | |
JP3025564B2 (en) | Distance measuring device for passive autofocus system | |
JP3025563B2 (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 | |
JP2954723B2 (en) | Distance measuring device for passive autofocus system | |
JP2954718B2 (en) | Distance measuring device for passive autofocus system | |
JP3025565B2 (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 | |
JP2993754B2 (en) | Distance measuring device for passive autofocus system | |
US5274415A (en) | Range finder for passive type autofocussing device | |
JPH05107459A (en) | Distance measuring device for passive autofocusing apparatus | |
JP3064063B2 (en) | Distance measuring device for passive autofocus system | |
JPH05107460A (en) | Distance measuring device for passive autofocusing apparatus | |
US5264891A (en) | Range finder for passive-type autofocusing device | |
JPH06324258A (en) | Passive type distance measuring instrument for autofocusing device | |
JPH04277709A (en) | Range-finder for passive type automatic focusing device | |
JPH04277708A (en) | Range finder for passive type automatic focusing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20000405 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R360 | Written notification for declining of transfer of rights |
Free format text: JAPANESE INTERMEDIATE CODE: R360 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R371 | Transfer withdrawn |
Free format text: JAPANESE INTERMEDIATE CODE: R371 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313532 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090512 Year of fee payment: 9 |
|
LAPS | Cancellation because of no payment of annual fees |