Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3064064B2 - Distance measuring device for passive autofocus system - Google Patents
[go: Go Back, main page]

JP3064064B2 - Distance measuring device for passive autofocus system - Google Patents

Distance measuring device for passive autofocus system

Info

Publication number
JP3064064B2
JP3064064B2 JP29520791A JP29520791A JP3064064B2 JP 3064064 B2 JP3064064 B2 JP 3064064B2 JP 29520791 A JP29520791 A JP 29520791A JP 29520791 A JP29520791 A JP 29520791A JP 3064064 B2 JP3064064 B2 JP 3064064B2
Authority
JP
Japan
Prior art keywords
zero
light receiving
circuit
cross
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.)
Expired - Fee Related
Application number
JP29520791A
Other languages
Japanese (ja)
Other versions
JPH05107061A (en
Inventor
黒 稔 石
Original Assignee
富士写真光機株式会社
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 富士写真光機株式会社 filed Critical 富士写真光機株式会社
Priority to JP29520791A priority Critical patent/JP3064064B2/en
Priority to US07/958,665 priority patent/US5257061A/en
Publication of JPH05107061A publication Critical patent/JPH05107061A/en
Application granted granted Critical
Publication of JP3064064B2 publication Critical patent/JP3064064B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、被写体からの光を受
けて該被写体までの距離を測定し、該測定結果に基づい
て撮影レンズが合焦するように焦点を調節するパッシブ
型オートフォーカス装置の、被写体までの距離を測定す
るための測距装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a passive type auto-focusing device which receives light from a subject, measures the distance to the subject, and adjusts the focus based on the measurement result so that the taking lens is focused. 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 a photographing distance of a camera or the like, adjusts a photographing lens based on a result of the distance measurement, and adjusts a focus. You can enjoy shooting more easily. Various types of this autofocusing device have been developed, and the main one is a distance measuring method by triangulation. As a method based on the triangulation method, there is a passive type in which a light receiving sensor provided in a camera receives light from a subject to measure a shooting distance.

【0003】この種のパッシブ型測距装置のうちには2
個の受光センサを配設したものがある。この2個の受光
センサからなる測距装置では、2つの被写体が存在する
場合の測定結果からは被写体の存在態様が2通りに考え
られることになってしまい、確実な測距を行なえずピン
トのずれた画像となってしまうおそれがある。
[0003] Among passive distance measuring devices of this kind, two are known.
Some light receiving sensors are provided. In the distance measuring device including the two light receiving sensors, from the measurement result in the case where two objects are present, the existence of the object can be considered in two ways. There is a possibility that the image will 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
2 のそれぞれの間隔をB、結像レンズ1a、2a、3aと受
光素子列1b、2b、3bの受光面との間隔をA、結像レンズ
1a、2a、3aから被写体Pまでの距離をLp、光軸T0から
被写体Pまでの距離をXとすると、三角測量の原理か
ら、
For this reason, the present applicant has already proposed a distance measuring mechanism comprising three light receiving element arrays so that a clear image can be obtained by performing a reliable distance measurement (Japanese Patent Laid-Open No. 3-4).
2642). The principle of distance measurement by this distance measuring mechanism will be described with reference to FIGS. The distance measuring mechanism is 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 light-receiving element arrays 1b, 2b, 3b, so that a subject image passes through the imaging lenses 1a, 2a, 3a and forms an image on the light-receiving element arrays 1b, 2b, 3b. FIG. 19 shows a case where one subject P exists. Then, the displacement amount of the output signal P 0 relating to the luminance distribution of the subject P detected by the light receiving element array 1b serving as a reference from the optical axis T 0 of the reference light receiving sensor 1 is detected by x 0 , and the first light receiving element array 2b The amount of displacement 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 3 b The amount of displacement 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 phase differences 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 ,
Each interval B of T 2, the imaging lens 1a, 2a, 3a and a light receiving element array 1b, 2b, 3b of the interval A between the light receiving surface, an imaging lens
1a, 2a, the distance to the object P Lp, and the distance from the optical axis T 0 to the subject P and X, the principle of triangulation from 3a,

【数1】X=x0*Lp/A となる。また、光軸T0 を基準にして出力信号の像が現
われた方向の符号を含めて、
X = x 0 * Lp / A Further, 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式を
代入すれば、
X 2 = {(B + X) / Lp} * A By substituting Equation 1 into each of Equations 2 and 3,

【数4】x1=−{(B/Lp)*A}+x0 X 1 = − {(B / Lp) * A} + x 0

【数5】x2=(B/Lp)*A+x0 となる。X 2 = (B / Lp) * A + x 0

【0005】数4式と数5式とを比較すると、x1、x2
はそれぞれx0 を基準として、
[0005] Comparing Equation 4 and Equation 5, x 1 , x 2
Are based on x 0 , respectively.

【数6】(B/Lp)*A=Xp だけずれていることが分る。したがって、このXp を求
めることにより、
## EQU6 ## It can be seen that there is a shift by (B / Lp) * A = Xp. Therefore, by obtaining 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が一致するまで出力信号
1、P2の波形をずらせば、そのずらし量が上記Xpと
なる。すなわちこのときP1 とP2 のずらし量は等しく
なるのであるから、受光素子列2bの出力信号と受光素子
列3bの出力信号とを等しい距離だけずらして、3つの信
号の波形が一致したとき、これら3つの信号の波形が同
じ被写体Pに関する情報となるのである。次に(C)に
示すように、出力信号Q1、Q2が出力信号Q0 と一致す
る状態までずらせば、該ずらし量がXqとなる。
An operation for obtaining the above Xp will be described with reference to FIG. (A) is a comparison of output signals relating to the luminance distribution of the subject images of the light receiving element arrays 1b, 2b, 3b that have received light from the two subjects P, Q, with reference output signals P 0 , Q 0. 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 coincide with each other as shown in FIG. 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 shifted by the same distance, and the waveforms of the three signals match. The waveforms of these three signals become information on the same subject P. Next, as shown in (C), if the output signals Q 1 and Q 2 are shifted until they match the output signal Q 0 , the shift amount becomes Xq.

【0007】上述のようにして求められた上記Xp、Xq
から前記数7式により、被写体P、Qまでの距離Lp、
Lqが求められることになる。
The above-mentioned Xp and Xq obtained as described above
From equation (7), the distances Lp to the subjects P and Q are
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 performed in accordance with 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, a 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 reference light receiving element row 1b, the first light receiving element row 2b, and the second
Since the coincidence of the waveforms of the light receiving element row 3b will be detected,
The number of correlation operations increases and the signal processing time increases. For this reason, the time required for the distance measurement becomes long, and when the subject is dynamic, the image is taken 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 mounting the light receiving sensors 1, 2, and 3 to the distance measuring device, there is a possibility that a mounting error occurs in each device, and the optical system for distance measuring is shifted.
That is, as shown in FIG. 18, when the normal position where the imaging lens 1a of the light receiving sensor 1 is attached is indicated by a solid line,
Since deviates the optical axis T 0 of the image forming lens 1a when mounted deviate from the normal position as indicated by a broken line, shifted the imaging position on the light receiving element array 1b. Alternatively, in the case where the imaging lens 1a is mounted at a regular position, even if the mounting position of the light receiving element row 1b is shifted,
The imaging position on the light receiving element row 1b is shifted. For this reason,
While 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 mounted, the subject distance is erroneously measured unless the processing is performed using the output signal in the range d when the light receiving element array 1b is mounted with a deviation. There is a risk of doing it. In addition, since the mounting errors of the imaging lenses 1a differ depending on each distance measuring device, it is not possible to uniformly correct all the distance measuring devices.

【0010】そこで、この発明は、3つの受光センサを
有し、信号処理を短時間で行なうことができ、極力鮮明
な画像を得ることができるようにするとともに、被写体
輝度を捕捉する受光センサの取付に誤差が生じてしまっ
ても、受光センサの出力信号を正しく処理して誤測距を
極力防止した測距装置を提供することを目的としてい
る。
Therefore, the present invention has a light receiving sensor which has three light receiving sensors, can perform signal processing in a short time, can obtain a clear image as much as possible, and captures the brightness of the subject. It is an object of the present invention to provide a distance measuring device that correctly processes an output signal of a light receiving sensor and prevents erroneous distance measurement as much as possible even if an error occurs in mounting.

【0011】[0011]

【課題を解決するための手段】上記の目的のため、この
発明に係るパッシブ型オートフォーカス装置用測距装置
は、被写体の輝度分布を捕捉する3組の受光センサと、
上記それぞれの受光センサの出力信号の2次差分を算出
する2次差分演算回路と、上記それぞれの2次差分演算
回路の出力信号のゼロクロス点を検出するゼロクロス検
出回路と、上記それぞれのゼロクロス検出回路によって
得られたゼロクロス挙動信号を記憶するゼロクロスメモ
リ回路と、上記それぞれのゼロクロスメモリ回路に記憶
されたゼロクロス挙動信号を比較してこれらの一致を検
出する一致検出回路とからなり、上記ゼロクロス点のデ
ータの上記ゼロクロスメモリ回路に書き込みを開始する
出力信号に対応するラインセンサの画素の位置を外部か
らの操作によって調整する調整手段を設け、個々の受光
センサに応じて該調整手段によってゼロクロスメモリ回
路への書き込み開始位置を調整し、上記3組の受光セン
サのうちの1つを基準とし該基準の受光センサから得ら
れたゼロクロス挙動信号に対して、他の2つの受光セン
サから得られたゼロクロス挙動信号を順次スライドさせ
てこれらのゼロクロス挙動信号の一致を上記一致検出回
路により検出し、該スライド量から被写体までの距離を
演算することを特徴としている。
In order to achieve the above objects, a distance measuring apparatus for a passive type autofocus apparatus according to the present invention comprises three sets of light receiving sensors for capturing a luminance distribution of a subject,
A second difference calculating circuit for calculating a second difference between the output signals of the respective light receiving sensors, a zero cross detecting circuit for detecting a zero cross point of the output signal of each of the second difference calculating circuits, and the respective zero cross detecting circuits A zero cross memory circuit that stores the zero cross behavior signal obtained by the above, and a match detection circuit that compares the zero cross behavior signals stored in the respective zero cross memory circuits and detects a match between them. Adjusting means for adjusting the position of the pixel of the line sensor corresponding to the output signal to start writing to the zero cross memory circuit by an external operation, and the adjusting means adjusts the position of the pixel to the zero cross memory circuit according to each light receiving sensor. Adjust the writing start position and set one of the three With reference to the zero-crossing behavior signal obtained from the reference light-receiving sensor, the zero-crossing behavior signals obtained from the other two light-receiving sensors are sequentially slid, and the coincidence of these zero-crossing behavior signals is detected by the coincidence detection circuit. Then, the distance to the subject is calculated from the slide amount.

【0012】[0012]

【作用】上記受光センサを構成する受光素子列によって
被写体輝度分布に応じた出力電圧が得られ、この出力電
圧の2次差分分布はゼロレベルを境に挙動する。この挙
動のゼロクロス点は、被写体の同一部分に関する輝度分
布に対しては上記3つの受光センサについて所定の基準
部分から適宜ずれた状態で等しくなる。
The output voltage corresponding to the object luminance distribution is obtained by the light receiving element array constituting the light receiving sensor, and the secondary difference distribution of the output voltage behaves at the zero level. The zero-cross point of this behavior becomes equal to the luminance distribution of the same part of the subject in a state where the three light receiving sensors are appropriately shifted from a predetermined reference part.

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

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

【0015】そして、受光センサを測距装置に取り付け
た際に正規の位置から偏倚してしまった場合には、この
偏倚量に対して受光センサの出力信号の上記ゼロクロス
メモリ回路への書き込み開始位置を上記調整手段によっ
て調整すれば、正規に取り付けられた状態と同様に正確
な測距データが得られる。
When the light receiving sensor is deviated from a proper position when the light receiving sensor is attached to the distance measuring device, the position at which the output signal of the light receiving sensor is written into the zero-cross memory circuit with respect to the amount of the deviation. Is adjusted by the above-mentioned adjusting means, accurate distance measurement data can be obtained in the same manner as in the state where the camera is properly mounted.

【0016】[0016]

【実施例】以下、図示した実施例に基づいて、この発明
に係るオートフォーカス装置用測距装置を具体的に説明
する。なお、図1ないし図11に第1実施例を、図12ない
し図16に第2実施例を、図17に第3実施例をそれぞれ示
してある。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a distance measuring apparatus for an automatic focusing apparatus according to the present invention. FIGS. 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実施例を説明
する。
The 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 としてある。
Each of the light receiving sensors 10, 20, 30 is constituted by combining a line sensor composed of a light receiving element array in which an appropriate number of pixels are juxtaposed, and an imaging lens, and as shown in FIG. Is provided with three imaging lenses 10a, 20a and 30a, and light emitted from a subject is
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 with respect to the optical axis 10c of the central sensor 10. It is in. In addition, the line sensor 10
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, drive signals from the sensor drivers 11, 21, and 31 are separately input to the line sensors 10b, 20b, and 30b, and the line sensors 10b, 20b, and 30b receive the drive signals from the respective drive signals. The capture of light from the subject is started based on the information. The sensor drivers 11, 21, and 31 are connected to the control circuit 40 by a drive control signal line 40a.
Is controlled by a drive control signal output from the controller.

【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, as shown in FIG. 1, the output terminals of the line sensors 10b, 20b, and 30b are connected to secondary difference calculation circuits 12, 22, and 32, respectively.
The respective line sensors 10b, 20b, by 12, 22, 32,
The secondary difference of the luminance distribution signal of the object obtained in 30b is calculated. As shown in FIG. 3, these secondary difference calculation circuits 12, 22, and 32 convert the output signals Vin of the respective pixels of the line sensors 10b, 20b, and 30b into sample-and-hold circuits 12a, 12b, and 12b.
Samples and holds sequentially while shifting by c, 12d, 12e, and the operational amplifier 12f

【数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)に示
してある。
[Mathematical formula-see original document] Vout = (R2 / (2 * R1)) * (Vin (n-2) -2 * Vin (n-1) + Vin (n)) is calculated to obtain a secondary difference. FIG. 4 shows a time chart of the secondary difference calculation circuits 12, 22, and 32. Also, as shown in FIG. 7, the subject luminance has a 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パルスとして出力さ
れる。
As shown in FIG. 1, the output signals of the secondary difference calculation circuits 12, 22, and 32 are respectively zero-cross detection circuits.
13, 23, and 33, and the second-order difference calculation circuits 12, 2
The zero-cross point of the secondary difference obtained in steps 2 and 32 is detected.
As shown in FIG. 5, the zero-cross detection circuit 13 (23, 3
3) The second difference calculation circuit 1 is connected to the input terminal of the comparator 13a.
2 (22, 32) output signal Vin is input, and the reference terminal is grounded. The output side of the comparator 13a is connected to flip-flops 13b and 13c, 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 AND circuit 13e, and the output signals of the AND circuits 13d and 13e are input to the OR circuit 13f. Then, as shown in the timing chart of FIG.
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 synchronized 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 above-mentioned 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 crossing behavior is
Address operation circuit 1 corresponding to pixel positions b, 20b, 30b
It is stored in correspondence with the addresses output from 5, 25 and 35. In addition, these address operation circuits 15, 25, and 35 are connected to an adjustment control signal line from adjustment means (not shown) which is externally operated.
A deviation adjustment signal is input via 15a, 25a, and 35a. This deviation adjustment signal is obtained by measuring the distance of a subject at a known distance to obtain a correction amount caused by an error in mounting the light receiving sensors 10, 20, and 30, and corresponding to the correction amount, the data of the zero cross point is converted to the zero cross point data. Memory circuits 14, 2
These signals are for setting the positions of the pixels of the line sensors 10b, 20b, and 30b corresponding to the output signals for starting writing to the lines 4 and 34. Now, these correction amounts are stored in the central memory circuit.
14, 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 operation circuits 15, 25, and 35, and the address signal is sequentially incremented.

【数9】 ADDRESS=COUNTER1−Cadj−S 右側メモリ回路24では、ADDRESS = COUNTER1-Cadj-S In the right memory circuit 24,

【数10】 ADDRESS=COUNTER1−Radj−S 左側メモリ回路34では、ADDRESS = COUNTER1-Radj-S In the left memory circuit 34,

【数11】ADDRESS=COUNTER1−Ladj に従って各画素に応じてそれぞれのアドレスに記憶され
る。なお、数9式と数10式中のSは定数である。また調
整範囲をAとすれば、0 <Cadj、Radj、Ladj< A
−1 とする。
## EQU11 ## In accordance with ADDRESS = COUNTER1-Ladj, it is stored at each address according to each pixel. Note that S in Equations 9 and 10 is a constant. If the adjustment range is A, 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に対して所定の書込み信号と読み
出し信号とが出力される。
A count signal (COUNTER2) of a second counter 60 is input to the address arithmetic circuits 25 and 35, and the second counter 60 and the first counter 50 are controlled based on an output signal of the control circuit 40. Counting up and resetting. The second counter 60 increments an address when data is read from the zero-cross memory circuits 24 and 34, as described later. The address arithmetic circuits 15, 25, and 35 have a control circuit 40.
, Address processing information is input thereto, and predetermined write signals and read signals are output to the zero-cross memory circuits 14, 24, 34 from the address arithmetic circuits 15, 25, 35 based on the address processing information.

【0024】そして、上記ゼロクロスメモリ回路14、2
4、34の出力側には一致検出回路70が接続されており、
該一致検出回路70の出力側は制御回路40に接続されてい
る。
The zero cross memory circuits 14, 2
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に記憶される。
The count signal of the first counter 50 is input to the address port 81 of the data memory circuit 80,
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, 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.

【0026】次に図8および図9に基づいて、被写体の
輝度情報のメモリの書き込みと読み出しの手順を説明す
る。
Next, referring to FIGS. 8 and 9, the procedure of writing and reading the luminance information of the subject in the memory will be described.

【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 to the zero cross memory circuits 14, 24, 34 (step 805). Note that zero-cross detection is performed between step 804 and step 805. Next, proceeding to step 806, it is determined whether reading has been completed for all pixels based on the value of the first counter 50. If not, proceeding to step 807, the first counter 50 is counted up. Returning to 804, one-pixel reading and writing to the zero-cross memory circuits 14, 24, 34 are performed (step 805). And zero-cross memory circuits 14, 2
When data is written to 4, 34, the first counter 50
Address operation circuits 15, 25, 35 based on the count signal of
The address is specified and stored in memory. At this time, the addresses to be stored are specified in accordance with the above-mentioned equations (9), (10) and (11). If the address is negative, no writing is performed.

【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までを実行する。
If reading of all pixels is completed and the determination in step 806 is YES, the flow advances 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 the data in the central zero cross memory circuit 14, the right zero cross memory circuit 24, and the left zero cross memory circuit 34 match. A judgment is made (step 903). If the data match, proceed to step 904, where the first counter
The numerical value of the count signal (COUNTER1) of 50 is used as address data, and the counter signal (CO
UNTER2) is written to 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, where the first counter determines whether reading of the memory data (reference data) corresponding to all valid pixels of the central line sensor 10b is completed.
Judge based on the value of 50, if not completed step
Proceeding to 906, the first counter 50 is counted up, and then returns to step 902 to execute steps up to step 905.

【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 process proceeds from step 905 to step 907, where the data of the right and left zero-cross memory circuits 24 and 34 are shifted by a specified amount with respect to the data of the central zero-cross memory circuit 14. It is determined based on the value of the second counter 60 whether or not steps 901 to 905 have been executed (shift reading) (step 907). If the shift reading has not been completed, the second counter 60 is counted up and the step
Returning to step 901, steps 902 to 905 are repeated.
If the shift readout is completed, step 90
Go to 9.

【0030】このステップ901からステップ908までにお
けるメモリデータの読み出しは、アドレス演算回路15、
25、35によって、前記数9式、数10式、数11式に対応し
て、中央部ゼロクロスメモリ回路14からは、
The reading of the memory data from step 901 to step 908 is performed by the address operation circuit 15,
According to Equations (9), (10) and (11), from the central zero-cross memory circuit 14,

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

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

【数14】ADDRESS=COUNTER1+S−C
OUNTER2 に従って読み出される。このときの書き込みアドレスと
読み出しアドレスとの関係を図10を参照して説明する。
なお、書き込みのアドレスは前記数9式、数10式、数11
式に従って行なわれ、既に補正量Cadj、Radj、Ladj
を含んでいるものとする。
ADDRESS = COUNTER1 + SC
It is read according to OUTER2. The relationship between the write address and the read address at this time will be described with reference to FIG.
Note that the write address is given by the above formulas 9, 10 and 11
The correction is performed in accordance with the equations, and the correction amounts Cadj, Radj, Ladj have already been obtained.
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 this time, the first counter 50 is incremented from 0 to (W-1) (step 906). , Line sensors 10b, 20b, 3
The data stored at the address corresponding to each pixel of 0b is compared to detect a match between 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 shifted from S to (S + W-1).
Incremented to Next, the second counter 60 is incremented (step 908), and while the counter signal of the second counter 60 is 1 (COUNTER2 = 1), the first counter 50 is incremented from 0 to (W-1) (step 908). 906), line sensor 10b, 20
The data stored in the addresses corresponding to the pixels b and 30b are compared to detect a match between the data. Therefore, when COUNTER2 = 1, the address is from 0 to (W-1) for the center line sensor 10b, from 1 to W for the right line sensor 20b, and (for the left line sensor 30b. S-1) to (S + W)
-2) is incremented. In other words, the memory data of the right-side zero-cross memory circuit 24 and the memory data of the left-side zero-cross memory circuit 34 are shifted from the memory data of the central zero-cross memory circuit 14 one pixel at a time to perform coincidence detection.

【0032】そして、第2カウンタ60をインクリメント
しながら(ステップ908 )、第2カウンタ60のカウント
信号がCOUNTER2=Sとなるまで、一致検出が繰
り返される。なお、図11(a)はCOUNTER=S−
1のときを示し、図11(b)はCOUNTER2=Sの
ときを示している。
Then, while the second counter 60 is incremented (step 908), the coincidence detection is repeated until the count signal of the second counter 60 becomes COUNTER2 = S. FIG. 11A shows COUNTER = S−
1 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 No. 34 coincides with the zero-cross point is equal to the shift amount X in the equation (6).
corresponds to p. Then, this deviation amount is stored in the data memory circuit 80 as distance data in step 904.

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

【0035】次に、図12ないし図16に示した第2実施例
を説明する。
Next, a 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,
Numeral 30 denotes a combination of one line sensor composed of a light receiving element array in which an appropriate number of pixels are juxtaposed, and three imaging lenses. As shown in FIG. Image lenses 10a, 20a, and 30a are provided, and light emitted from the subject passes through these image forming lenses 10a, 20a, and 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, each of which has a line sensor central part 10b,
The line sensor right portion 20b and the line sensor left portion 30b are provided. These light receiving sensors 10, 20, and 30 are a central sensor 10, a right sensor 20, and a left sensor 30, respectively.
Optical axes 20c and 30c of the right sensor 20 and the left sensor 30, respectively.
Are located symmetrically about the optical axis 10c of the central sensor 10.

【0037】上記ラインセンサ8には、図12に示すよう
に、センサドライバ11からの駆動信号が入力され、ライ
ンセンサ8は該駆動信号に基づいて被写体からの光の捕
捉を開始する。また、センサドライバ11は駆動制御信号
線40a によって制御回路40に接続され、制御回路40から
出力される駆動制御信号によって制御される。
As shown in FIG. 12, a drive signal from a sensor driver 11 is input to the line sensor 8, and the line sensor 8 starts capturing light from a subject based on the drive signal. The sensor driver 11 is connected to the control circuit 40 by a drive control signal line 40a, and is controlled by a 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, the output terminal of the line sensor 8
As shown in FIG. 12, a secondary difference calculation circuit 12 is connected, and the secondary difference calculation circuit 12 calculates a secondary difference of the luminance distribution signal of the subject obtained by the line sensor 8. The secondary difference calculation circuit 12 is the same as that shown in FIG. 3 shown in the first embodiment, and calculates the secondary difference by the above equation (8).

【0039】また、2次差分演算回路12の出力信号は、
図12に示すように、ゼロクロス検出回路13に入力されて
おり、2次差分演算回路12で得られた2次差分のゼロク
ロス点を検出する。このゼロクロス検出回路13は、第1
実施例の図5に示したものと同様である。
The output signal of the secondary difference calculation circuit 12 is
As shown in FIG. 12, a zero-cross point of the secondary difference that is input to the zero-cross detection circuit 13 and obtained by the secondary difference calculation circuit 12 is detected. This zero-cross detection circuit 13
This is the same as that of the embodiment shown in FIG.

【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 part corresponding to b, the part corresponding to the line sensor right part 20b, and the part corresponding to the line sensor left part 30b are divided and respectively input to the zero cross memory circuits 14, 24, and stored. At this time, the zero-cross behavior is stored in the central 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 35 via adjustment control signal lines 15a, 25a, and 35a from adjustment means (not shown) that is operated from the outside. This deviation adjustment signal is obtained by measuring the distance of a subject at a known distance to obtain a correction amount caused by an error in mounting the light receiving sensors 10, 20, and 30, and corresponding to the correction amount, the data of the zero cross point is converted to the zero cross point data. 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. Now, assuming that these correction amounts are Cadj for the value for the central memory circuit 14, Radj for the value for the right memory circuit 24, and Ladj for the value for the left memory circuit 34, the address arithmetic circuits 15, 25, 35 First
When the count signal (COUNTER1) of the counter 50 is input and sequentially incremented, the central memory circuit 14
Then

【数15】ADDRESS=COUNTER1−Cadj 右側メモリ回路24では、ADDRESS = COUNTER1-Cadj In the right memory circuit 24,

【数16】ADDRESS=COUNTER1−Radj 左側メモリ回路34では、ADDRESS = COUNTER1-Radj In the left memory circuit 34,

【数17】ADDRESS=COUNTER1−Ladj に従って各画素に応じてそれぞれのアドレスに記憶され
る。また調整範囲をAとすれば、0 < Cadj、Radj、
Ladj < A−1 とする。
## EQU17 ## In accordance with ADDRESS = COUNTER1-Ladj, the data is stored at each address according to each pixel. If the adjustment range is A, 0 <Cadj, Radj,
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に対して所定の書込み信号と読み出し信号とが
出力される。
The count signals (COUNTER2) of the second counter 60 are input to the address operation circuits 25 and 35, and the second counter 60 and the first counter 50 are controlled based on the output signal of the control circuit 40. Counting up and resetting. The second counter 60 increments an address when data is read from the zero-cross memory circuits 24 and 34, as described later. Further, address processing information is input from the control circuit 40 to the address calculation circuits 25 and 35, and based on the address processing information, a predetermined write signal and readout are performed from the address calculation circuits 25 and 35 to the zero-cross memory circuits 24 and 34. And a signal are output.

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

【0044】次に図14ないし図16に基づいて、被写体の
輝度情報のメモリの書き込みと読み出しの手順を説明す
る。
Next, referring to FIGS. 14 to 16, the procedure for writing and reading the luminance information of the subject in the memory will be described.

【0045】測距が開始されるとラインセンサ8に電荷
が蓄積され(ステップ1401)、第2カウンタ60がリセッ
トされ(ステップ1402)、制御回路内の図示しない読み
出し画素数カウンタがリセットされる(ステップ140
3)。
When the distance measurement is started, charges are accumulated in the line sensor 8 (step 1401), the second counter 60 is reset (step 1402), and the read-out pixel number counter (not shown) in the control circuit is reset (step 1401). 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, it is first determined whether or not the reading of the first pixel of the portion related to the line sensor left portion 30b has been started based on the value of the read pixel number counter (step S1). 1404),
The output is performed one pixel at a time until reading of the first part is started (step 1405). When the reading of the first part is started, the first counter 50 is reset (step 1406). Then, data corresponding to one pixel of the line sensor left portion 30b is read out (step 140).
7) Read the data to the left zero cross memory circuit 3
4 is written (step 1408). Note that zero-cross detection is performed between step 1407 and step 1408. Next, the process proceeds to step 1409, where it is determined whether reading has been completed for all pixels based on the value of the first counter 50. If not, the process proceeds to step 1410, where the first counter 50 is counted up. 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 operation circuit based on the count signal of counter 50
Address is specified from 35 and stored. At this time,
The address to be stored is specified according to the above equation (17). If the address is negative, no writing is performed.

【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 the result of step 1409 is YES, step 15
Proceeding to 03 (FIG. 15), it is determined whether reading of the first pixel of the portion related to the line sensor central portion 10b has been started based on the value of the read pixel counter, and 1 is maintained until the reading of the first portion is started. It is output pixel by pixel (step 1504). If the reading of the first part is started, the first counter 50 is reset (step 150).
5) Similarly to the above steps 1407 to 1410, for the line sensor central portion 10b, while performing the zero-cross detection, reading is performed pixel by pixel (step 1506) and writing to the central portion zero-cross memory 14 (step 1507). 1
The judgment of the completion of the reading for all the pixels of the line sensor central portion 10b based on the value of the counter 50 (step 1508) is performed while counting up the first counter 50 (step 150).
9) repeated. Note that the address to be memorized is
Specified according to equation 5. If the address is negative, no writing is performed.

【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 reading of all the pixels in the line sensor central portion 10b is completed and YES is determined in the step 1508, the process proceeds to a step 1603 (FIG. 16) to output one pixel at a time (step 1604). Right part 20b
The start of reading of 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 line sensor central part 10b, the line sensor right part 20b is read out one pixel at a time (step 1606) and written to the right zero cross memory 24 (step 1607) while the zero cross detection is being performed. The judgment of the completion of reading of all the pixels of the line sensor right portion 20b based on the value of the counter 50 (step 1608) is performed while counting up the first counter 50 (step 160).
9) repeated. When data is written to the right-side zero cross memory circuit 24, the data is stored in the address specified by the address arithmetic circuit 25 in accordance with Expression 16 based on the count signal of the first counter 50. If the address is negative, no writing is performed.

【0049】ラインセンサ8の全画素について読み出し
が終了して前記ステップ1608の判定がYESとなれば、
図9に示したステップ901からステップ909に至る手順と
同様に、ゼロクロスメモリ回路14、24、34からメモリデ
ータが読み出され、一致検出回路70にて中央部ゼロクロ
スメモリ回路14と右側ゼロクロスメモリ回路24、左側ゼ
ロクロスメモリ回路34のデータが一致するか否かが判断
される。そして、シフト読み出しが完了した場合には、
データメモリ回路80から測距データが出力される(ステ
ップ909 )。
If reading of all the pixels of the line sensor 8 is completed and the determination in the step 1608 is YES,
As in 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. 24, it is determined whether or not the data of the left zero cross memory circuit 34 matches. 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 for detecting the coincidence of the memory data of the zero-cross memory circuits 14, 24, and 34, the first counter 50 and the address arithmetic circuits 15, 25, and 35 calculate
Equations (12) and (17) of the first embodiment correspond to equations (16) and (17).
Similarly to Equations 13 and 14, the central zero-cross memory circuit 14
From

【数18】ADDRESS=COUNTER1 右側ゼロクロスメモリ回路24からは、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 を
含んでいるものとする。
ADDRESS = COUNTER1 + SC
It is read according to OUTER2. Note that S in 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 in accordance with the above equations (15), (16) and (17). Assume 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, since one line sensor is used and divided into three, the line sensor is used.
The secondary difference calculation circuit and the zero-cross detection circuit are also each one set. For this reason, the distance measuring apparatus shown in the first embodiment using three line sensors has a structure in which three sets of secondary difference calculation circuits and zero-cross detection circuits are provided corresponding to each line sensor. However, in the distance measuring apparatus according to the second embodiment, one line sensor, one set of a secondary difference calculation circuit, and a zero-cross detection circuit are sufficient, and the number of components 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 denoted 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 parts, and the line sensor central part 10b, the line sensor right part 20b, and the line sensor left part 30b, respectively. There is. Then, the output signal of the line sensor 8 is input to the secondary difference calculation circuit 12, the secondary difference is calculated by Expression 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-crossing behavior obtained by the zero-crossing detection circuit 13 is
The part corresponding to b, the part corresponding to the line sensor right part 20b, and the part corresponding to the line sensor left part 30b are divided and respectively input to the zero cross memory circuits 14, 24, and stored. 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 address output from the address calculation circuits 25 and 35 corresponding to the pixel position, and in the line sensor central part 10b. It is stored according to the count signal (COUNTER1) of the counter 50. That is, the first address arithmetic circuits 25 and 35
The count signal (COUNTER1) of the counter 50 is input, and the count signal (COUNT) is supplied to the central memory circuit 14.
While TER1) is input and incremented sequentially,
In the central memory circuit 14,

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

【数22】ADDRESS=COUNTER1 左側メモリ回路34では、ADDRESS = COUNTER1 In the left memory circuit 34,

【数23】ADDRESS=COUNTER1 に従って各画素に応じてそれぞれのアドレスに記憶され
る。
## EQU23 ## In accordance with ADDRESS = COUNTER1, it is stored at 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に対して
所定の書込み信号と読み出し信号とが出力される。
The count signals (COUNTER2) of the second counter 60 are input to the address arithmetic circuits 25 and 35, and the second counter 60 and the first counter 50 are controlled 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. Further, address processing information is input from the control circuit 40 to the address calculation circuits 25 and 35, and based on the address processing information, a predetermined write signal and readout are performed from the address calculation circuits 25 and 35 to the zero-cross memory circuits 24 and 34. And a signal are output.

【0056】そして、上記ゼロクロスメモリ回路14、2
4、34の出力側には一致検出回路70が接続されており、
該一致検出回路70の出力側は制御回路40に接続されてい
る。
Then, the zero cross memory circuits 14, 2
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,
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, 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.

【0058】さらに、上記制御回路40には、外部から操
作される図示しない調整手段から調整制御信号線40b、4
0c、40d を介して偏差調整信号が入力されている。この
偏差調整信号は、既知の距離にある被写体について測距
を行なって受光センサ10、20、30の取付誤差によって生
じる補正量を求め、この補正量に対応して、ゼロクロス
点のデータを上記ゼロクロスメモリ回路14、24、34に書
き込みを開始する出力信号に対応するラインセンサ10
b、20b、30b の画素の位置を設定するための信号であ
り、ラインセンサ左部30bとラインセンサ中央部10b、ラ
インセンサ右部20bとに関する部分の最初の画素の読み
出しが開始されたか否か、読み出し画素数カウンタによ
り判断する値にオフセットを与え、予めオフセットされ
た読み出し画素位置より書き込みを開始し、カウント信
号(COUNTER1)によって前記ゼロクロスメモリ
回路14、アドレス演算回路25、35を駆動する。
Further, the control circuit 40 is provided with adjustment control signal lines 40b, 4
A deviation adjustment signal is input via 0c and 40d. This deviation adjustment signal is obtained by measuring the distance of a subject at a known distance to obtain a correction amount caused by an error in mounting the light receiving sensors 10, 20, and 30, and corresponding to the correction amount, the data of the zero cross point is converted to the zero cross point data. Line sensor 10 corresponding to an output signal to start writing to memory circuits 14, 24, 34
b, 20b, and 30b are signals for setting the positions of the pixels, and whether the reading of the first pixel of the portion related to the line sensor left portion 30b, the line sensor central portion 10b, and the line sensor right portion 20b has been started is performed. An offset is given to the value determined by the read pixel 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 luminance information of the subject in the memory is the same as that in the second embodiment. In order to correct the mounting error of the light receiving sensors 10, 20, and 30, the zero cross memory circuit 14 is used. , 24, and 34 are executed in a state where they are offset in advance. Therefore, in the state where the write has already been offset, the count signal (COUN) of the first counter 50 is supplied to the address arithmetic 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では、ADDRESS = COUNTER1 In the right memory circuit 24,

【数25】ADDRESS=COUNTER1 左側メモリ回路34では、ADDRESS = COUNTER1 In the left memory circuit 34,

【数26】ADDRESS=COUNTER1 に従って各画素に応じてそれぞれのアドレスに記憶され
る。また、メモリデータの読み出しは、第1カウンタ50
とアドレス演算回路25、35によって、中央部ゼロクロス
メモリ回路14からは、
## EQU26 ## In accordance with ADDRESS = COUNTER1, it is stored at each address according to each pixel. The reading of the memory data is performed by the first counter 50.
And the address arithmetic circuits 25 and 35, from the central zero cross memory circuit 14,

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

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

【数29】ADDRESS=COUNTER1+S−C
OUNTER2 に従って読み出される。なお、数29式の中のSは定数で
ある。また、このときの書き込みアドレスと読み出しア
ドレスとの関係は図10および図11の場合と同様である。
ADDRESS = COUNTER1 + SC
It is read according to OUTER2. Note that S in Expression 29 is a constant. The relationship between the write address and the read address at this time is the same as in the case of FIGS.

【0060】[0060]

【発明の効果】以上説明したようにこの発明に係るパッ
シブ型オートフォーカス装置用測距装置によれば、3つ
のラインセンサで被写体輝度を捕捉しそのデータから2
次差分を演算し、該2次差分のゼロクロス点を特徴点と
してそのゼロクロスデータを記憶し、3つのうちの1つ
を基準のゼロクロスデータとして他の2つのゼロクロス
データを順次1画素ずつずらしながら3つのデータがゼ
ロクロス点に関して一致するか否かを比較して、一致し
たときのずらし量を距離データとして被写体までの距離
を演算するようにしたから、相関演算して距離データを
求めるものに比べて演算処理速度が速くなる。このた
め、動的な被写体を確実に捕捉して素早いピント合わせ
を行なうことができる。
As described above, according to the distance measuring apparatus for the passive type auto-focusing apparatus according to the present invention, the brightness of the subject is captured by the three line sensors, and 2
The next difference is calculated, the zero cross point of the secondary difference is used as a feature point, the zero cross data is stored, and the other two zero cross data are sequentially shifted by one pixel using one of the three as the reference zero cross data. The two data are compared to determine whether they match with respect to the zero-cross point, and the distance to the subject is calculated using the amount of shift when they match as distance data. The calculation processing speed increases. Therefore, it is possible to reliably capture a dynamic subject and perform quick focusing.

【0061】しかも、ゼロクロス点のデータのゼロクロ
スメモリ回路に書き込みを開始する出力信号に対応する
ラインセンサの画素の位置を外部からの操作によって調
整できるようにしたから、受光センサをこの測距装置に
取り付ける際に取付誤差が生じた場合でも、被写体の輝
度情報を確実に演算処理することができ、誤測距が極力
防止される。
Furthermore, since the position of the pixel of the line sensor corresponding to the output signal for starting the writing of the data of the zero cross point into the zero cross memory circuit can be adjusted by an external operation, the light receiving sensor can be used in this distance measuring device. Even when a mounting error occurs during mounting, the luminance information of the subject can be reliably processed, and erroneous distance measurement can be prevented as much as possible.

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

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

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

【図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 illustrating a calculation of a secondary difference from an output of a line sensor.
It is a circuit diagram of a next difference calculation circuit.

【図4】図3の回路におけるタイムチャートである。FIG. 4 is a time chart in the circuit of FIG. 3;

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

【図6】図5の回路におけるタイムチャートである。FIG. 6 is a time chart in the circuit of FIG. 5;

【図7】被写体輝度分布とそれに対する1次差分と2次
差分を示す図である。
FIG. 7 is a diagram showing a subject luminance distribution and primary and secondary differences therefrom.

【図8】ラインセンサから得られたデータをゼロクロス
メモリ回路に書き込む手順を示す第1実施例に係るフロ
ーチャートである。
FIG. 8 is a flowchart illustrating a procedure for writing data obtained from a line sensor into a zero-cross memory circuit according to the first embodiment.

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

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

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

【図12】このパッシブ型オートフォーカス装置用測距
装置の第2実施例の回路ブロック図である。
FIG. 12 is a circuit block diagram of a second embodiment of the distance measuring apparatus for a passive type autofocus apparatus.

【図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 illustrating a procedure for writing data obtained from a line sensor into a zero-cross memory circuit according to a second embodiment, and relates to a left portion of the line sensor.

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

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

【図17】このパッシブ型オートフォーカス装置用測距
装置の第3実施例の回路ブロック図である。
FIG. 17 is a circuit block diagram of a third embodiment of the distance measuring apparatus for a passive type autofocus apparatus.

【図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 a principle of distance measurement.

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

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

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 Imaging lens 20a Imaging lens 30a Imaging lens 10b Center line sensor 20b Right line sensor 30b Left line sensor 11, 21, 31 Sensor driver 12, 22, 32 Secondary difference calculation Circuits 13, 23, 33 Zero-cross detection circuit 14, 24, 34 Zero-cross memory circuit 15, 25, 35 Address operation circuit 15a, 25a, 35a Adjustment control signal line 40 Control circuit 40b, 40c, 40d Adjustment control signal line 50 First counter 60 Second counter 70 Match detection circuit 80 Data memory circuit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 被写体の輝度分布を捕捉する3組の受光
センサと、上記それぞれの受光センサの出力信号の2次
差分を算出する2次差分演算回路と、上記それぞれの2
次差分演算回路の出力信号のゼロクロス点を検出するゼ
ロクロス検出回路と、上記それぞれのゼロクロス検出回
路によって得られたゼロクロス挙動信号を記憶するゼロ
クロスメモリ回路と、上記それぞれのゼロクロスメモリ
回路に記憶されたゼロクロス挙動信号を比較してこれら
の一致を検出する一致検出回路とからなり、上記ゼロク
ロス点のデータの上記ゼロクロスメモリ回路に書き込み
を開始する出力信号に対応するラインセンサの画素の位
置を外部からの操作によって調整する調整手段を設け、
個々の受光センサに応じて該調整手段によってゼロクロ
スメモリ回路への書き込み開始位置を調整し、上記3組
の受光センサのうちの1つを基準とし該基準の受光セン
サから得られたゼロクロス挙動信号に対して、他の2つ
の受光センサから得られたゼロクロス挙動信号を順次ス
ライドさせてこれらのゼロクロス挙動信号の一致を上記
一致検出回路により検出し、該スライド量から被写体ま
での距離を演算することを特徴とするパッシブ型オート
フォーカス装置用測距装置。
1. A light receiving sensor for capturing a luminance distribution of a subject, a secondary difference calculating circuit for calculating a secondary difference between output signals of the respective light receiving sensors,
A zero-cross detection circuit that detects a zero-cross point of the output signal of the next difference calculation circuit; a zero-cross memory circuit that stores a zero-cross behavior signal obtained by each of the zero-cross detection circuits; A match detection circuit for comparing the behavior signals to detect these matches, and externally operating the position of the pixel of the line sensor corresponding to the output signal for starting the writing of the zero-cross point data to the zero-cross memory circuit Adjustment means for adjusting by
The write start position in the zero-cross memory circuit is adjusted by the adjusting means according to each light receiving sensor, and a zero-crossing behavior signal obtained from the reference light receiving sensor based on one of the three sets of light receiving sensors is used as a reference. On the other hand, the zero-crossing behavior signals obtained from the other two light receiving sensors are sequentially slid, the coincidence of these zero-crossing behavior signals is detected by the coincidence detection circuit, and the distance to the subject is calculated from the sliding amount. Characteristic distance measuring device for passive autofocus device.
JP29520791A 1991-10-15 1991-10-15 Distance measuring device for passive autofocus system Expired - Fee Related JP3064064B2 (en)

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 JPH05107061A (en) 1993-04-27
JP3064064B2 true 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)

Also Published As

Publication number Publication date
JPH05107061A (en) 1993-04-27

Similar Documents

Publication Publication Date Title
JP3093781B2 (en) Focus position detection device
JP3064064B2 (en) Distance measuring device for passive autofocus system
JP2954720B2 (en) Distance measuring device for passive autofocus system
JP3025564B2 (en) Distance measuring device for passive autofocus system
JP2954719B2 (en) Distance measuring device for passive autofocus system
JP3025563B2 (en) Distance measuring device for passive autofocus system
JP2954724B2 (en) Distance measuring device for passive autofocus system
JP2954718B2 (en) Distance measuring device for passive autofocus system
JP2954721B2 (en) Distance measuring device for passive autofocus system
US5257061A (en) Range finder for passive-type autofocusing device
JP2954723B2 (en) Distance measuring device for passive autofocus system
JP3025565B2 (en) Distance measuring device for passive autofocus system
JP2954722B2 (en) Distance measuring device for passive autofocus system
JP2993754B2 (en) Distance measuring device for passive autofocus system
JP3064063B2 (en) Distance measuring device for passive autofocus system
JP3064062B2 (en) Distance measuring device for passive autofocus system
JP3080768B2 (en) Distance measuring device for passive autofocus system
JP3375491B2 (en) Distance sensor
JPH05107459A (en) Distance measuring device for passive autofocusing apparatus
US5274415A (en) Range finder for passive type autofocussing device
JPH05107460A (en) Distance measuring device for passive autofocusing apparatus
JPH04277708A (en) Range finder for passive type automatic focusing device
JPH04277709A (en) Range-finder for passive type automatic focusing device
JPH04277710A (en) Range-finder for passive type automatic focusing device
JPH04104513U (en) Light receiving sensor for distance measurement of passive autofocus 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