JPS60201310A - Distance detector - Google Patents

Distance detector

Info

Publication number
JPS60201310A
JPS60201310A JP5721584A JP5721584A JPS60201310A JP S60201310 A JPS60201310 A JP S60201310A JP 5721584 A JP5721584 A JP 5721584A JP 5721584 A JP5721584 A JP 5721584A JP S60201310 A JPS60201310 A JP S60201310A
Authority
JP
Japan
Prior art keywords
output
level
gate
signal
counter
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
Application number
JP5721584A
Other languages
Japanese (ja)
Other versions
JPH0535405B2 (en
Inventor
Hideo Ko
秀夫 高
Ryoichi Suzuki
良一 鈴木
Shuichi Tamura
秀一 田村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP5721584A priority Critical patent/JPS60201310A/en
Publication of JPS60201310A publication Critical patent/JPS60201310A/en
Publication of JPH0535405B2 publication Critical patent/JPH0535405B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/36Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 本発明は距離検出装置、特に光源より測距対象に光を投
射し、測距対象による反射光の受光手段上の入射スポッ
ト位置に対応して定まる2つの電流出力の関係によって
測距対象までの距離を検出するカメラ等に用いる距離検
出装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a distance detection device, in particular, a distance detection device that projects light from a light source onto a distance measurement object, and generates two current outputs that are determined corresponding to the incident spot position on a light receiving means of reflected light from the distance measurement object. The present invention relates to a distance detection device used in a camera or the like that detects the distance to a distance measurement target based on a relationship.

従来この種の距離検出装置には、光源として例えば赤外
発光ダイオード(以下I REDという)。
Conventionally, this type of distance detection device uses, for example, an infrared light emitting diode (hereinafter referred to as IRED) as a light source.

受光装置として例えば半導体装置検出素子(以下PSD
という)が用いられており、次のような原理に基いて測
定対象までの距離を検出する。
As a light receiving device, for example, a semiconductor device detection element (hereinafter referred to as PSD) is used.
) is used to detect the distance to the measurement target based on the following principle.

すなわち、I REDにより測距対象にパルス光を投射
し、その反射光をPSDにより受光する。
That is, the IRED projects pulsed light onto the object to be measured, and the PSD receives the reflected light.

測距対象までの距離が異なると反射光の視差も異なり、
従ってPSD上の反射光のスポット位置も異なる。この
スポット位置の変化により電流路上の抵抗比が変わるの
で、出力電流の比も変わる。
If the distance to the distance measurement target differs, the parallax of the reflected light will also differ.
Therefore, the spot position of the reflected light on the PSD is also different. This change in spot position changes the resistance ratio on the current path, so the output current ratio also changes.

従ってこの出力電流を比較することにより測距対象まで
の距離が算出できる。
Therefore, by comparing these output currents, the distance to the object to be measured can be calculated.

ところで出力電流値はPSDに入射する反射スポット光
の強さに影響され、強いときには大きく、弱いときには
小さくなる。このため信号のダイナミックレンジを確保
する信号圧縮手段等を比較回路の前に設けることを必要
とするが、回路が複雑化するとともにSN比が劣化する
欠点があった。
Incidentally, the output current value is influenced by the intensity of the reflected spot light incident on the PSD, and becomes large when it is strong and small when it is weak. For this reason, it is necessary to provide a signal compression means or the like in front of the comparator circuit to ensure the dynamic range of the signal, but this has the drawback of complicating the circuit and degrading the S/N ratio.

また、カメラ等の自動焦点調整装置に用いる場合、比較
回路の出力電流値を撮影レンズの駆動に対応付けるため
に規格化する必要があるが、温度や電源電圧の変動によ
りその出力電流値が変わることがあった。このため出力
電流値と撮影レンズの制御のためのデジタルゾーン信号
との対応関係がくずれ、正確な焦点調整ができないとい
う欠点があった。
In addition, when used in automatic focus adjustment devices such as cameras, it is necessary to standardize the output current value of the comparison circuit in order to correspond to the drive of the photographic lens, but the output current value may change due to fluctuations in temperature or power supply voltage. was there. For this reason, the correspondence between the output current value and the digital zone signal for controlling the photographic lens is broken, resulting in a drawback that accurate focus adjustment cannot be performed.

本発明は上記欠点に鑑み提案されたものであり、PSD
の一方または双方の電流出力を増幅率可変の増幅器を介
して出力させ、これらの出力を比較することにより、簡
単な構成で、かつ高精度な距離検出装置を提供すること
を目的とするものである。
The present invention has been proposed in view of the above-mentioned drawbacks, and is based on PSD
The purpose of the present invention is to provide a distance detection device with a simple configuration and high accuracy by outputting one or both current outputs through an amplifier with a variable amplification factor and comparing these outputs. be.

以下、図面に従って本発明の実施例について説明する。Embodiments of the present invention will be described below with reference to the drawings.

第1図から第3図は本発明の原理を示す原理図である。1 to 3 are principle diagrams showing the principle of the present invention.

第1図において2は光源であるところのI RED 、
4は受光素子であるところのPSD、6は投光光学系、
8は受光光学系である。
In FIG. 1, 2 is a light source, I RED,
4 is a PSD which is a light receiving element, 6 is a light emitting optical system,
8 is a light receiving optical system.

測距対象がDlの位置にある場合、IRED2から投光
光学系6を通して測距対象で反射されたパルス光は受光
光学系8を通してPSDd上の4aに結像され、端子4
Aおよび4BからそれぞれIAおよびInの電流が出力
される。測距対象がD2゜D3.D4のそれぞれの位置
にある場合には、psD4上の4b、4a、4dにそれ
ぞれ結像され、結像位置に対応した電流が出力される。
When the distance measurement target is at the position Dl, the pulsed light reflected from the distance measurement target from the IRED 2 through the light emitting optical system 6 is focused on 4a on the PSDd through the light receiving optical system 8, and is outputted to the terminal 4.
Currents IA and In are output from A and 4B, respectively. The distance measurement target is D2°D3. When located at each position of psD4, images are formed on 4b, 4a, and 4d on psD4, and currents corresponding to the imaged positions are output.

第2図はPSD4の構造な示す概略断面図であり、4N
はN型半導体層、4PはP型半導体層であり、P型土導
体層4Pは等測的に横方向に抵抗値R1、R2、R3、
R4、R5を有している。ここでR1は端子4Aから4
aまでの抵抗値、R2は4aから4bまでの抵抗値、R
3は4bから4Cまでの抵抗値、些4は4cから4dま
での抵抗値、R5は4dから端子4Bまでの抵抗値であ
る。
Figure 2 is a schematic sectional view showing the structure of PSD4, and
is an N-type semiconductor layer, 4P is a P-type semiconductor layer, and the P-type soil conductor layer 4P has resistance values R1, R2, R3,
It has R4 and R5. Here, R1 is 4 from terminal 4A.
The resistance value from 4a to 4b, R2 is the resistance value from 4a to 4b, R
3 is the resistance value from 4b to 4C, 4 is the resistance value from 4c to 4d, and R5 is the resistance value from 4d to terminal 4B.

P−N接合は反射スポット光が入射しないとき、逆バイ
アスされたままで電流は流れず、入射するとき電子−正
孔対が発生し接合部に電流が流れ、電流lムおよびIB
が流れる。
When the reflected spot light is not incident on the P-N junction, it remains reverse biased and no current flows; when the reflected spot light is incident, electron-hole pairs are generated and a current flows in the junction, causing the current lm and IB
flows.

表1は反射パルス光がPSDJ上の4 a + 4 b
 +4e、4dにそれぞれ結像された場合の出力電流I
AおよびIBの関係を示している。ここで■はIhとl
IIの和である。
Table 1 shows that the reflected pulsed light is 4 a + 4 b on PSDJ.
Output current I when imaged on +4e and 4d, respectively
It shows the relationship between A and IB. Here ■ is Ih and l
It is the sum of II.

表 1 第6図は本発明における信号処理の原理を示す図である
。10はPSD4の出力電流の一方(例えばIA)を増
幅する増幅器であり、その増幅率をGとする。第2図の
関係から明らかなように、測距対象で反射されたパルス
光がPSD4上の4aに結像された場合G = R+ 
/ (R2+ Rs+ R4+ Ra )のとき1*−
G=Inとなり、同様に4bに結像された場合G= (
R++ Rz ) /(R3+ R4+ R5)のとき
IA−G=Inとなり、4cに結像された場合G= (
R++Rt+Rs)/(Ri十Rs)のときIA・G=
Is+となり、4dに結像された場合G = (RI+
 R2+ R3+ R4) /’R5のときIa−G=
Inとなる。
Table 1 FIG. 6 is a diagram showing the principle of signal processing in the present invention. Reference numeral 10 denotes an amplifier that amplifies one of the output currents (for example, IA) of the PSD 4, and its amplification factor is denoted by G. As is clear from the relationship in Figure 2, when the pulsed light reflected from the distance measurement target is imaged on 4a on the PSD 4, G = R+
/ 1*- when (R2+ Rs+ R4+ Ra)
When G=In and similarly imaged on 4b, G= (
When R++ Rz ) /(R3+ R4+ R5), IA-G=In, and when imaged on 4c, G= (
When R++Rt+Rs)/(Ri + Rs), IA・G=
When it becomes Is+ and is imaged on 4d, G = (RI+
R2+ R3+ R4) /'When R5, Ia-G=
Becomes In.

したがって増幅率GとIa−G:>Inおよび■A−G
りIBとなる結像位置の関係は、表2で示すようになる
Therefore, amplification factor G and Ia-G: >In and ■A-G
The relationship between the imaging positions resulting in IB is shown in Table 2.

つまりG = R+/(R2+ Rs+ R4+ R5
)のとき工^・G>Isなら4Aから4&の間に結像さ
れており、ll−G(Inなら4aから4Bの間に結像
されていることが検出できるわけである。同様にG −
(R1+R2)/(R3+R4十Rう)のとき、IA−
G ) IIなら4Aから4bの間で工^・G(III
なら4bから4Bの間であり、G=(R++ R2+ 
Rs ) /(R4+ Ra )のとき、Ia−G)I
sなら4Aから4cの間で■ム・G<IIIなら4cか
ら4Bの間であり、G = (R++ R*+ R3+
 R4ン/R5のとき、IA−G>IBなら4Aから4
dの間でIA−G <Iaなら4dから4Bの間にそれ
ぞれ結像されていることが検出できる。したがって増幅
率GをR1/(R2+R3+R4+R5) +(RI+
R2)/(R3+R4+R6) 、 (RI+R2+R
8)/(R4+R5) 。
In other words, G = R+/(R2+ Rs+ R4+ R5
), if G>Is, the image is formed between 4A and 4&, and if it is ll-G (In, it can be detected that the image is formed between 4a and 4B.Similarly, if G −
When (R1+R2)/(R3+R40R), IA-
G) II is between 4A and 4b.G(III
Then, it is between 4b and 4B, and G=(R++ R2+
When Rs)/(R4+Ra), Ia-G)I
If s, it is between 4A and 4c, and if G<III, it is between 4c and 4B, and G = (R++ R** R3+
When R4/R5, if IA-G>IB, 4A to 4
If IA-G <Ia between 4d and 4B, it can be detected that each image is formed between 4d and 4B. Therefore, the amplification factor G is R1/(R2+R3+R4+R5) +(RI+
R2)/(R3+R4+R6), (RI+R2+R
8)/(R4+R5).

(R+ + R2+ Rs+ R4) /R5と111
次変化させそのときの工^・GとInを比較することに
より、4Aから4a。
(R+ + R2+ Rs+ R4) /R5 and 111
Next, change 4A to 4a by comparing E^・G and In at that time.

4aからab、4bから4c、4cから4d、4dから
4Bの間のどこに結像されているかが検出できる。
It is possible to detect where the image is formed between 4a and ab, 4b and 4c, 4c and 4d, and 4d and 4B.

表 2 第4図は本発明に係るカメラの距離検出装置の一実施例
の回路図である。12は電源回路ブロックであり、カメ
ラのレリーズボタンの押し込みに応答して回路電源であ
るところのVCC,PSD4へのバイアス電圧であると
ころのVC2基準電圧であるところのKVCを出力する
。14はPUC信号発生ブロックであり、電源VCCの
投入時に後述する制御ブロック20ヘパワーアツプクリ
アの為のPUC信号を出力する。16は投光ブロックで
あり、制御ブロック20からの制御信号200に応答し
てIRED2の駆動を行なう。18は受光ブロックであ
り、制御ブロック20からの制御信号201〜206に
従ってPSD4からの出力信号を演算し、演算結果を出
力信号207により制御ブロック20へ出力する。20
は制御ブロックであり、投光ブロック16および受光ブ
ロック18に制御信号200〜2゛06を出力するとと
もに、受光ブロック18の出力信号207より測距対象
の距離を検出し、測距終了信号ENDおよび距離のゾー
ン信置Zl、Z2.Z3.Z4.Z5を出力する。
Table 2 FIG. 4 is a circuit diagram of an embodiment of a distance detection device for a camera according to the present invention. Reference numeral 12 denotes a power supply circuit block, which outputs VCC, which is the circuit power supply, and VC2, which is the bias voltage to the PSD 4, and KVC, which is the reference voltage, in response to pressing the release button of the camera. Reference numeral 14 denotes a PUC signal generation block, which outputs a PUC signal for power-up clear to a control block 20, which will be described later, when the power supply VCC is turned on. Reference numeral 16 denotes a light projection block, which drives the IRED 2 in response to a control signal 200 from the control block 20. A light receiving block 18 calculates the output signal from the PSD 4 according to control signals 201 to 206 from the control block 20, and outputs the calculation result to the control block 20 as an output signal 207. 20
is a control block which outputs control signals 200 to 2'06 to the light emitting block 16 and the light receiving block 18, detects the distance of the distance measurement target from the output signal 207 of the light receiving block 18, and sends the distance measurement end signal END and Distance zone trust Zl, Z2. Z3. Z4. Output Z5.

電源回路ブロック12において、61は電源電池、SW
はカメラのレリーズボタンの押し込みに連動するスイッ
チであり、撮影者がレリーズボタンを押し込むとオン、
解放するとオフする。62・66はコンデンサ、64は
チョークコイルであり、π形の電源フィルタを構成して
いる。65は公知の定電圧回路であり、電源VCCを入
力としてPSD4のバイアス電源VCおよび後述する各
アンプの基準電圧KVCを出力する。
In the power supply circuit block 12, 61 is a power supply battery, SW
is a switch that is linked to pressing the camera's release button, and turns on and off when the photographer presses the release button.
It turns off when released. 62 and 66 are capacitors, and 64 is a choke coil, which constitute a π-type power filter. Reference numeral 65 denotes a known constant voltage circuit, which inputs the power supply VCC and outputs a bias power supply VC of the PSD 4 and a reference voltage KVC of each amplifier to be described later.

PUC信号発生ブロック14において、41は抵抗、4
2はコンデンサで互いに直列に接続されており、コンデ
ンサ42は抵抗41を介して電源■CCより充電される
。46はインバータであり。
In the PUC signal generation block 14, 41 is a resistor;
2 are capacitors connected in series with each other, and the capacitor 42 is charged via a resistor 41 from the power supply CC. 46 is an inverter.

入力は抵抗41とコンデンサ42の接続点に接続されて
いる。電源vCCが投入されると初め抵抗41とコンデ
ンサ42の接続点の電圧はQVなのでインバータ46の
出力であるところのPUC信号は°“H“ルベルとなる
が、コンデンサ42が充電され続はインバータ46のし
きい値電圧以上になるとPUC信号はL”レベルになる
The input is connected to a connection point between a resistor 41 and a capacitor 42. When the power supply VCC is turned on, the voltage at the connection point between the resistor 41 and the capacitor 42 is QV, so the PUC signal, which is the output of the inverter 46, becomes a "H" level, but the capacitor 42 is charged and the inverter 46 continues. When the voltage exceeds the threshold voltage of , the PUC signal becomes L'' level.

投光ブロック16において、51はストローブ端子付き
のOPアンプであり、ストローブ端子がオープンの時に
は動作するが、後述するトランジスタ55が導通状態の
時には動作しない。52はトランジスタであり、演算増
幅器(以下OPアンプという)51の出力によりベース
を制御され■RED2を駆動する。53.54は抵抗で
あり、IRBD2の両端電圧を分圧してopアンプ51
の反転入力にフィードバックする。55はトランジスタ
であり、制御ブロック20からの制御信号200により
ベースを制御され、OPアンプ51のストローブ端子を
制御する。つまり制御信号200が“H”レベルの時に
はトランジスタ55は導通状態となってOPアンプが作
動しないのでIRED2は消灯する。−力制御信号20
0が“L”レベルの時にはトランジスタ55は導通せず
(ニストロープ端子がオープン状態となりOPアンプ5
1が作動し、IRED2はトランジスタ52により駆動
され点灯する。56は抵抗であり、トランジスタ55の
ベース電流な制限する。
In the light projection block 16, 51 is an OP amplifier with a strobe terminal, which operates when the strobe terminal is open, but does not operate when a transistor 55, which will be described later, is conductive. 52 is a transistor whose base is controlled by the output of an operational amplifier (hereinafter referred to as OP amplifier) 51 and drives RED2. 53 and 54 are resistors, which divide the voltage across IRBD2 and connect it to the op amp 51.
Feedback to the inverted input. 55 is a transistor whose base is controlled by the control signal 200 from the control block 20 and controls the strobe terminal of the OP amplifier 51. That is, when the control signal 200 is at the "H" level, the transistor 55 becomes conductive and the OP amplifier does not operate, so that the IRED 2 is turned off. - force control signal 20
0 is at the “L” level, the transistor 55 is not conductive (the nistrope terminal is in an open state, and the OP amplifier 5
IRED 1 is activated, and IRED 2 is driven by transistor 52 and lights up. A resistor 56 limits the base current of the transistor 55.

受光ブロック18において、(Sl、62はOPアンプ
で63.64は抵抗である。PSD4の出力電流■Aは
OPアンプ61.抵抗63により電流電圧変換され、出
力電流IBはopアンプ62.抵抗64により電流電圧
変換される。65.66はコンデンサであり、OPアン
プ61.62の出力電圧の直流成分をカットする。67
はopアンプ。
In the light receiving block 18, (Sl, 62 is an OP amplifier and 63.64 is a resistor. The output current A of the PSD 4 is converted into voltage by the OP amplifier 61.Resistor 63, and the output current IB is the OP amplifier 62.Resistor 64. 65 and 66 are capacitors that cut the DC component of the output voltage of the OP amplifier 61 and 62. 67
is an op amp.

68は抵抗である。抵抗68は一端を基準電圧KvCに
接続されているので、コンデンサ65により直流成分を
カットされた信号は電圧KVCを基準とする交流信号に
なる。opアンプ67は反転入力と出力が接続されてお
り、バッファとして動作する。69,70,71.72
.73は抵抗、74゜75.76.77はアナログスイ
ッチ、78はopアンプであり、これらの素子により反
転増幅器として動作する。アナログスイッチ74,75
,76゜77のオン・オフはそれぞれ制御信号201,
202゜205.204によって制御され、各々の制御
信号が“H”レベルの時に対応するアナログスイッチは
オンし、IIL”レベルの時にはオフする。抵抗69゜
70.71.72.73のそれぞれの抵抗値なR1′。
68 is a resistance. Since the resistor 68 has one end connected to the reference voltage KvC, the signal whose DC component is cut off by the capacitor 65 becomes an AC signal with the voltage KVC as a reference. The op amp 67 has its inverting input and output connected, and operates as a buffer. 69,70,71.72
.. 73 is a resistor, 74°, 75, 76, and 77 are analog switches, and 78 is an operational amplifier, and these elements operate as an inverting amplifier. Analog switch 74, 75
, 76° and 77 are turned on and off by control signals 201 and 201, respectively.
202゜205.204, when each control signal is at "H" level, the corresponding analog switch is turned on, and when it is at "IIL" level, it is turned off.Respective resistors of 69゜70.71.72.73 The value R1'.

R7、R11’ 、 R4′、 Rs’とすればアナロ
グスイッチ74だけがオンした時の反転増幅器のゲイン
は−R1′/(R1+R3’+R4’+Ra’)であり
、同様にしてアナログスイッチ75.76.77がそれ
ぞれ単独にオンした時の各ゲインは−(R+’+R2′
)/(Rs+R4′+R11’) + (R+’+ R
2′+ R3’)/ (R4’+ R5’) 、 (R
4’+ R2′+ R3’+R41’ ) /R5′ 
になる。79・80・81は抵抗、82はopアンプで
あり、これらの素子により加算器として動作する。OP
アンプ82の非反転入力は基準電圧KVCに接続されて
いるので反転入力もKVCと同電位になり、従ってコン
デンサ66により直流成分をカットされた信号は電圧K
VCを基準とする交流信号になる。83.84はアナロ
グスイッチであり、85.86はコンデンサである。ア
ナログスイッチ83.84のオン・オフはそれぞれ制御
信号205.206によって制御され、各々の制御信号
が“°H”レベルの時に対応するアナログスイッチはオ
ンし、“L”レベルの時にはオフする。アナログスイッ
チ86とコンデンサ85はサンプルホールド回路として
動作し、コンデンサ85はアナログスイッチ86がオン
した時のOPアンプ82の出力をサンプリングしてアナ
ログスイッチ86がオフしている間ホールドする。同様
にアナログスイッチ84とコンデンサ86もサンプルホ
ールド回路として動作する。87はコンパレータで反転
入力はコンダンf85に、非反転入力はコンデンサ86
にそれぞれ接続され、コンデンサ85の電圧がコンデン
サ86の電圧より高い時には出力信号207は“L I
+レベル、低い時には“H゛ルベルなる。
If R7, R11', R4', and Rs' are set, the gain of the inverting amplifier when only the analog switch 74 is turned on is -R1'/(R1+R3'+R4'+Ra'), and similarly, the analog switch 75.76 When .77 is turned on individually, each gain is -(R+'+R2'
)/(Rs+R4'+R11') + (R+'+ R
2'+ R3')/ (R4'+ R5'), (R
4'+ R2'+ R3'+R41') /R5'
become. 79, 80, and 81 are resistors, and 82 is an operational amplifier, and these elements operate as an adder. OP
Since the non-inverting input of the amplifier 82 is connected to the reference voltage KVC, the inverting input also has the same potential as KVC, and therefore the signal whose DC component has been cut by the capacitor 66 has the voltage KVC.
It becomes an AC signal based on VC. 83.84 is an analog switch, and 85.86 is a capacitor. The analog switches 83 and 84 are turned on and off by control signals 205 and 206, respectively. When each control signal is at the "°H" level, the corresponding analog switch is turned on, and when it is at the "L" level, it is turned off. The analog switch 86 and the capacitor 85 operate as a sample and hold circuit, and the capacitor 85 samples the output of the OP amplifier 82 when the analog switch 86 is turned on, and holds it while the analog switch 86 is turned off. Similarly, analog switch 84 and capacitor 86 also operate as a sample and hold circuit. 87 is a comparator, the inverting input is connected to the capacitor f85, and the non-inverting input is connected to the capacitor 86.
, and when the voltage of capacitor 85 is higher than the voltage of capacitor 86, output signal 207 is “L I
+ level, when it is low, it becomes “H level”.

制御ブロック20において91・92・96はインバー
タ、94は抵抗、95はコンデンサである。インバータ
91・92と抵抗94.コンデンサ95はCR形発振回
路として動作する。インバータ96は正弦波的発振出力
を矩形波に波形成形する。96・97・98はD形のフ
リップフロップ(以下FFとする)であり、FF96の
Q出力がFF97のD入力に、FF97のQ出力がFF
98のD入力に、FF98のQ出力がFF96のD入力
にそれぞれ接続され、またCLOCK入力はすべてイン
バータ96の出力に接続されていわゆるジョンソン・カ
ウンタを構成している。99・100はアンドゲートで
あり、アンドゲート99はFF96のQ出力およびFF
98のQ出力を入力としアナログスイッチ86への制御
信号205を出力する。アントゲ−)100はFF96
のQ出力およびFF98の互出力を入力としアナログス
イッチ84への制御信号206を出力する。
In the control block 20, 91, 92, and 96 are inverters, 94 is a resistor, and 95 is a capacitor. Inverters 91 and 92 and resistor 94. Capacitor 95 operates as a CR type oscillation circuit. The inverter 96 shapes the sinusoidal oscillation output into a rectangular wave. 96, 97, and 98 are D-type flip-flops (hereinafter referred to as FF), and the Q output of FF96 is connected to the D input of FF97, and the Q output of FF97 is connected to the FF.
The Q output of FF 98 is connected to the D input of FF 98, and the Q output of FF 98 is connected to the D input of FF 96, and all the CLOCK inputs are connected to the output of inverter 96, forming a so-called Johnson counter. 99 and 100 are AND gates, and AND gate 99 connects the Q output of FF96 and the FF
It inputs the Q output of 98 and outputs a control signal 205 to the analog switch 86. anime game) 100 is FF96
The control signal 206 to the analog switch 84 is output by inputting the Q output of the FF 98 and the mutual output of the FF 98.

101はオアゲートであり、後述するオアゲート114
の出力であるEND信号が“L 11レベルの時にのみ
FF98のQ出力を通過させる。
101 is an or gate, and the or gate 114 will be described later.
The Q output of FF98 is passed only when the END signal, which is the output of FF98, is at the "L11 level".

102は7ビツトのバイナリ・カウンタであり、オアゲ
ート101の出力をCLOCK入力とする。
102 is a 7-bit binary counter, and the output of the OR gate 101 is used as the CLOCK input.

106はオアゲートであり、PUC信号および後述のE
ND信号を入力とする。104はR8形FFであり、オ
アゲート103の出力によりリセットされカウンタ10
2のQ1出力でセットされる。
106 is an OR gate, which receives the PUC signal and the E described below.
The ND signal is input. 104 is an R8 type FF, which is reset by the output of the OR gate 103 and outputs the counter 10.
It is set by the Q1 output of 2.

105はオアゲートであり、FF98のり出力およびF
F104の算出力を入力とし、その出力は制御信号20
0として投光ブロック16に接続されている。オアゲー
ト105の出力すなわちストローブ端子が“H′ルベル
の時にはI’RE D 2が消灯し、“L″レベル時に
はI RE I)2が点灯する。
105 is an OR gate, which outputs FF98 and F
The calculated power of F104 is input, and its output is the control signal 20
0 and is connected to the light projection block 16. When the output of the OR gate 105, that is, the strobe terminal is at the "H" level, I'RE D 2 is turned off, and when the output is at the "L" level, I'RE I) 2 is turned on.

106はD形FFであり、受光ブロック18のコンパレ
ータ87の出力である出力信号207をD入力とし、F
F98の算出力をクロック入力とする。107は3人力
アンドゲートであり、FF98のり出力、カウンタ10
2のQ4出力、FF106の算出力を入力とする。カウ
ンタ102はオアゲート101を通してFF98の算出
力をクロック入力とし、カウンタ102のQ4出力が“
′H″レベルとなるのはFF98の出力の8クロック間
である。従って、アンドゲート107の出力は、カウン
タ102のQ4出力が“IH”レベルの期間内であって
、またFF106の算出力が“H”レベルか°“L”レ
ベルかによって、最大8パルスから最小Oパルスのパル
ス出力となる。108は3ビツトのバイナリ−カウンタ
であり、アンドゲート107から出力されるパルス数を
カウントする。109はオアゲートであり、PUC信号
と後述するアンドゲート112の出力を入力とし、出力
はカウンタ108をリセットする。110はインバータ
であり、カウンタ102のQ3出力を入力とする。
106 is a D-type FF, and the output signal 207, which is the output of the comparator 87 of the light receiving block 18, is used as the D input;
The calculation output of F98 is used as the clock input. 107 is a three-man power AND gate, FF98 glue output, counter 10
The Q4 output of 2 and the calculation power of FF106 are input. The counter 102 uses the calculation output of the FF98 as a clock input through the OR gate 101, and the Q4 output of the counter 102 is “
The output of the AND gate 107 becomes 'H' level during 8 clocks of the output of the FF 98. Therefore, the output of the AND gate 107 is within the period in which the Q4 output of the counter 102 is at the 'IH' level, and the calculation output of the FF 106 is Depending on whether it is at the "H" level or the "L" level, the pulse output ranges from a maximum of 8 pulses to a minimum O pulse. 108 is a 3-bit binary counter that counts the number of pulses output from the AND gate 107. 109 is an OR gate, which receives the PUC signal and the output of an AND gate 112 (described later), and its output resets the counter 108. 110 is an inverter, which receives the Q3 output of the counter 102 as input.

111はインバータであり、カウンタ102のQ4出力
を入力とする。112はアンドゲートであり、カウンタ
1.02のQ2出力、インバータ110の出力、インバ
ータ111の出力を人力とする。
111 is an inverter, which receives the Q4 output of the counter 102 as an input. 112 is an AND gate, and the Q2 output of the counter 1.02, the output of the inverter 110, and the output of the inverter 111 are inputted manually.

116はR8形FFでPUC信号によりリセットされ、
カウンタ108のQ3出力によりセットされる。114
はオアゲートであり、カウンタ102のQ7出力および
FF113の算出力を入力とし、その出力はEND信号
として出力される。115はインバータであり、カウン
タ102のQ5出力を入力とする。116はインバータ
であり、カウンタ102のQ6出力を入力とする211
7はアンドゲートであり、インバータ115の出力およ
びインバータ116の゛出力を入力とし、その出力は制
御信号201として出力される。118はアンドゲート
であり、カウンタ102のQ5出力およびインバータ1
16の出力を入力とし、その出力は制御信号202およ
びz2信号として出力される。119はアンドゲートで
あり、カウンタ102のQ6出力およびインバータ11
5の出力を入力とし、その出力は制御信号206および
z3信号として出力される。120はアンドゲートであ
り、カウンタ102のQ5出力およびQ6出力な入力と
し、その出力は制御信号204およびz4信号として出
力される。121はインバータであり、カウンタ102
のQ7出力を入力とする。
116 is an R8 type FF that is reset by the PUC signal,
It is set by the Q3 output of counter 108. 114
is an OR gate, which inputs the Q7 output of the counter 102 and the calculation output of the FF 113, and outputs the output as an END signal. 115 is an inverter, which receives the Q5 output of the counter 102 as an input. 116 is an inverter, and 211 receives the Q6 output of the counter 102 as an input.
7 is an AND gate which receives the output of the inverter 115 and the output of the inverter 116, and its output is output as the control signal 201. 118 is an AND gate, which connects the Q5 output of the counter 102 and the inverter 1.
16 is input, and the output is output as a control signal 202 and a z2 signal. 119 is an AND gate, which connects the Q6 output of the counter 102 and the inverter 11.
5 is input, and the output is output as a control signal 206 and a z3 signal. Reference numeral 120 denotes an AND gate, which has inputs as the Q5 output and Q6 output of the counter 102, and its output is output as the control signal 204 and the z4 signal. 121 is an inverter, and counter 102
The Q7 output of is input.

122はアンドゲートであり、アンドゲート117の出
力およびインバー・夕゛i21の出力を入力とし、その
出力はz1信号として出力される。
122 is an AND gate, which receives the output of the AND gate 117 and the output of the inverter i21, and outputs the output as the z1 signal.

次に本発明の実施例に係る信号処理回路の動作について
説明する。撮影者がレリーズボタンを押し込みスイッチ
SWがオンすると、電源回路ブロック12より電源vc
cおよびVC,KVCが出力される。電源VCCが供給
されるとPUC信号発生ブロック14から抵抗41およ
びコンデンサ42の時定数とインバータ43のしきい値
電圧によって決まる時間だけH”レベルのPUC信号が
出力される。このPUC信号によりFF96,97゜9
8.113およびカウンタ102はリセットされる。ま
たオアゲート106を介してFF104が、オアゲート
109を介してカウンタ108もリセットされる。FF
104がリセットされるから算出力が“Hnレベルとな
り、またオアゲート105を介して制御信号200も“
H”レベルとなる。従って投光ブロック16のトランジ
スタ55は導通状態となりIRED2は消灯している。
Next, the operation of the signal processing circuit according to the embodiment of the present invention will be explained. When the photographer presses the release button and turns on the switch SW, the power supply VC is supplied from the power supply circuit block 12.
c, VC, and KVC are output. When the power supply VCC is supplied, the PUC signal generation block 14 outputs a PUC signal at the H" level for a time determined by the time constants of the resistor 41 and capacitor 42 and the threshold voltage of the inverter 43. This PUC signal causes the FF 96, 97°9
8.113 and counter 102 are reset. Further, the FF 104 is reset via the OR gate 106, and the counter 108 is also reset via the OR gate 109. FF
104 is reset, the calculation output becomes "Hn level," and the control signal 200 also becomes "Hn level" through the OR gate 105.
The level becomes H''. Therefore, the transistor 55 of the light projection block 16 becomes conductive, and the IRED 2 is turned off.

カウンタ102がリセットされているのでQ7出力は“
L”レベルであり、FFI 16もリセットされている
ので算出力は“L”レベルである。従ってオアゲート1
14の出力も゛L″レベルである。カウンタ102のQ
2出力、Q3出力、Q4出力が°L”レベルなのでアン
ドゲート112の出力も°L′”レベルである。カウン
タ102のQ5出力、Q6出力がL”レベルなのでイン
バータ115の出力はjlH”レベル、インバータ11
6の出力?>”H”レベルとなり、これによりアンドゲ
ート117の出力は“H”レベル、アンドゲート118
の出力は“L ”レベル、アンドゲート119の出力も
“°L゛ルベル。
Since the counter 102 has been reset, the Q7 output is “
Since the calculation power is "L" level and FFI 16 has also been reset, the calculation power is "L" level. Therefore, OR gate 1
The output of counter 102 is also at the "L" level.
Since the 2 output, the Q3 output, and the Q4 output are at the °L" level, the output of the AND gate 112 is also at the °L'" level. Since the Q5 output and Q6 output of the counter 102 are at the L" level, the output of the inverter 115 is at the jlH" level, and the inverter 11
6 output? >"H" level, and as a result, the output of AND gate 117 becomes "H" level, and AND gate 118
The output of the AND gate 119 is also "L" level.

アンドゲート120の出力も゛′L″レベルとなる。The output of the AND gate 120 also goes to the "L" level.

P U C信号が°H′”レベルから“L”レベルに戻
ると各FFおよびカウンタはリセットを解除される。
When the PUC signal returns from the °H' level to the "L" level, each FF and counter are released from reset.

この時の各部の動作を第5図に示すタイミングチャート
により説明する。第5図において(a)はPUC信号、
(b)はインバータ93の出力、(C)はF F 99
のQ出力、(d)はカウンタ102のQ1出力、(e)
はFF104の歪出力、(f)はオアゲート105の出
力である。FF96.97.98は第5図(a) +:
、示すPUC信号によるリセットを解除されると第5図
(b)に示すインバータ93の出力をクロックとして動
作し、FF98のQ出力は第5図(C1のようになる。
The operation of each part at this time will be explained with reference to the timing chart shown in FIG. In FIG. 5, (a) is the PUC signal,
(b) is the output of inverter 93, (C) is F F 99
(d) is the Q1 output of the counter 102, (e)
is the distorted output of the FF 104, and (f) is the output of the OR gate 105. FF96.97.98 is shown in Figure 5 (a) +:
, when the reset by the PUC signal shown in FIG. 5 is released, the FF 98 operates using the output of the inverter 93 shown in FIG.

FF98のQ出力はオアゲート101を介してカウンタ
102のクロックとなるので、カウンタ102のQ1出
力は第5図(d)のようになる。
Since the Q output of the FF 98 becomes the clock of the counter 102 via the OR gate 101, the Q1 output of the counter 102 becomes as shown in FIG. 5(d).

FF104はカウンタ102のQ1出力によってセット
されるので、百出、力は第5図(e)のように“L5レ
ベルとなる。FF104のり出力が“l L 11レベ
ルになるとオアゲート105の出力は第5図(f)のよ
うにF”F1aのQ出力を通過させるようになり、制御
信号200によりIRED2を点滅させる。
Since the FF 104 is set by the Q1 output of the counter 102, the output becomes the "L5 level" as shown in FIG. As shown in FIG. (f), the Q output of F''F1a is passed through, and the IRED 2 is blinked by the control signal 200.

I RED2から投光された光は測距対象により反射さ
れ、その反射光はPSDJ上に結像される。
The light projected from the I RED 2 is reflected by the object to be measured, and the reflected light is imaged on the PSDJ.

初めに測距対象が第1図のDlより近い場合について説
明する。この時反射光スポットは第2図に示す4Aと4
aの中間に結像する。以下第6図に受光ブロック18内
の各素子の信号波形を示す。
First, a case where the distance measurement target is closer than Dl in FIG. 1 will be explained. At this time, the reflected light spots are 4A and 4 shown in Figure 2.
The image is formed in the middle of a. The signal waveforms of each element in the light receiving block 18 are shown in FIG. 6 below.

第6図において(a)はIRED2の点滅波形であり、
°“L″レベル消灯 uH”レベルが点灯を示す。(b
)はコンデンサ65と抵抗68の接続点の波形、(C)
はコンデンサ66と抵抗80の接続点の波形、(d)は
OPアンプ78の出力波形、(e)はOPアンプ82の
出力波形、(f)は制御信号205の波形、(g)は制
御信号2060波形、(h)はコンパレータ87の反転
入力端子電圧波形、(i)はコンパレータ87の非反転
入力端子電圧波形、(j)はコンパレータ87の出力波
形である。I RED2が第6図(a)に示すように点
滅するとコンデンサ65と抵抗68の接続点、およびコ
ンデンサ66と抵抗80の接続点にはそれぞれPSD4
からの出力電流IA 、 IBに対応して第6図(b)
および(C)に示すようなKVCを基準とする交流信号
が発生する。OPアンプ67はバッファアンプとして動
作するのでOPアンプ67の出力電圧波形は第6図(b
)と同じである。制御信号201.202.203.2
04は初め201のみが“H”レベルであるからアナロ
グスイッf74゜75.76.77のうち74のみがオ
ンしている。
In FIG. 6, (a) is the blinking waveform of IRED2,
° “L” level indicates off, uH” level indicates on. (b
) is the waveform at the connection point of capacitor 65 and resistor 68, (C)
is the waveform at the connection point between the capacitor 66 and the resistor 80, (d) is the output waveform of the OP amplifier 78, (e) is the output waveform of the OP amplifier 82, (f) is the waveform of the control signal 205, and (g) is the control signal. 2060 waveform, (h) is the inverted input terminal voltage waveform of the comparator 87, (i) is the non-inverted input terminal voltage waveform of the comparator 87, and (j) is the output waveform of the comparator 87. When I RED2 blinks as shown in FIG. 6(a), PSD4 is connected to the connection point between capacitor 65 and resistor 68, and the connection point between capacitor 66 and resistor 80, respectively.
Figure 6(b) corresponds to the output currents IA and IB from
And an alternating current signal based on KVC as shown in (C) is generated. Since the OP amplifier 67 operates as a buffer amplifier, the output voltage waveform of the OP amplifier 67 is shown in FIG.
) is the same as Control signal 201.202.203.2
04, only 201 is at the "H" level at first, so only 74 of the analog switches f74°75.76.77 are on.

この時、抵抗69 (R1’) 、 70 (R2’)
 、 71 (R3’) 、72(R4’) 、 73
(Rs)とopアンプ78からなる反転増幅器のゲイン
Gは−RI’/(R2’ + R8’ + R4’ +
 R5’ )となり、OPアンプ78の出力電圧は第6
図(d)のようになる。ここで受光素子4の各部の抵抗
R1+ R2+ R3+R4、R5とRr’ 、 R2
T Rs HR4’ HRs’の関係を次のようにする
At this time, resistances 69 (R1') and 70 (R2')
, 71 (R3'), 72 (R4'), 73
The gain G of the inverting amplifier consisting of (Rs) and the op-amp 78 is -RI'/(R2' + R8' + R4' +
R5'), and the output voltage of the OP amplifier 78 is the sixth
The result will be as shown in figure (d). Here, the resistances of each part of the light receiving element 4 are R1+R2+R3+R4, R5 and Rr', R2
The relationship between T Rs HR4'HRs' is as follows.

一町−5−四′−鳥′=μ′−□ R+ Rt Rs R4R11 このとき表2の関係から明らかなようにI^・(G)>
IB。
One town - 5 - 4' - Tori' = μ' - □ R + Rt Rs R4R11 At this time, as is clear from the relationship in Table 2, I^・(G)>
IB.

ゆえに !^・G+l5(0 となる。したがって抵抗79,80.81およびopア
ンプ82からなる加算器の出力電圧は、第6図(e)の
ようにI RED2が点灯するときKVC以下であり、
消灯するとKVC以上になる。アナログスイッチ86の
制御信号205は第6図(f)のようにIRED2の点
灯時に“H”レベルとなるので、コンデンサ85にサン
プルホールドされる電圧は第6図(h)のようにKVC
以下の電圧となる。
therefore! ^・G+l5(0. Therefore, the output voltage of the adder consisting of the resistors 79, 80.81 and the op-amp 82 is below KVC when IRED2 lights up as shown in FIG. 6(e).
When the light goes out, it becomes more than KVC. Since the control signal 205 of the analog switch 86 becomes "H" level when the IRED 2 is turned on as shown in FIG. 6(f), the voltage sampled and held in the capacitor 85 becomes KVC as shown in FIG. 6(h).
The voltage will be as follows.

またアナログスイツy−84の制御信号206は第6図
(g)のようにIRED2の消灯時に“H”レベルとな
るので、コンダンf86にサンプルホールドされる電圧
は第6図(t+のようにKVC以上の電圧となる。した
がってコンパレータ87の反転入力より非反転入力の方
が電圧が高いので、第6図(j)のようにコンパレータ
87の出力は“H″ルベルなる。コンパレータ87の出
力は出力信号207として制御ブロック20へ伝達され
る。
In addition, since the control signal 206 of the analog switch Y-84 becomes "H" level when IRED2 is turned off as shown in Fig. 6 (g), the voltage sampled and held in the capacitor f86 is Therefore, since the voltage at the non-inverting input of the comparator 87 is higher than that at the inverting input, the output of the comparator 87 becomes an "H" level as shown in FIG. 6 (j). It is communicated to control block 20 as signal 207.

一方、制御ブロック20でEND信号が発せられるが、
この時の動作を第7図に示すタイミングチャートをもち
いて説明する。第7図において(a)はアンドゲート1
17の出力、(b)はIRED2の点滅波形、(C)は
カウンタ102のQ2出力、(d)はカウンタ102の
Q3出力、(e)はカウンタ102のQ4出力、(f)
はコンパレータ87の出力、(g)はFF106のζ出
力、 (h)ハフy Fケ−) 107ノ出力、(i)
はカウンタ108のQ3出力、(」)はオアゲート11
4の出力である。PUC信号によりアンドゲート117
の出力は第7図(a)のように“H”レベルとなり、O
Pアンプ78のゲインが決定される。またこのときカウ
ンタ102のQ7出力は“L”レベルなのでインバータ
121の出力は“H”レベルとなり、z1信号も“H”
レベルとなる。PUC信号によるリセットが解除される
とI RED2は第7図(b)のように点滅を始め、カ
ウンタ102も第7図(C) 、 (d) 、 (e)
のようにカウントを開始する。
On the other hand, the control block 20 issues an END signal;
The operation at this time will be explained using the timing chart shown in FIG. In Fig. 7, (a) is AND gate 1
17 output, (b) is the blinking waveform of IRED2, (C) is the Q2 output of the counter 102, (d) is the Q3 output of the counter 102, (e) is the Q4 output of the counter 102, (f)
is the output of the comparator 87, (g) is the ζ output of the FF 106, (h) the output of the FF 107, (i)
is the Q3 output of the counter 108, ('') is the OR gate 11
This is the output of 4. AND gate 117 by PUC signal
The output becomes “H” level as shown in Figure 7(a), and O
The gain of P amplifier 78 is determined. At this time, the Q7 output of the counter 102 is at the "L" level, so the output of the inverter 121 is at the "H" level, and the z1 signal is also at the "H" level.
level. When the reset by the PUC signal is released, IRED2 starts blinking as shown in Fig. 7(b), and the counter 102 also starts blinking as shown in Fig. 7(C), (d), (e).
Start counting like this.

I RED2が点滅を開始すると受光ブロック18によ
りPSD4での受光信号が処理され、コンパレータ87
の出力は第7図(f)のように“H″レベルなる。FF
106はコンパレータ87の出力を入力としており、や
はり“H”レベルとなる。カウンタ102のカウントが
進んでQ4出力が第7図(e)のように“l Hl”レ
ベルになると、FF106のζ出力が°“HI+レベル
なのでアンドゲート107はFF98の回出力を通過さ
せ、第7図(h)のようになる。カウンタ108はアン
ドゲート107からのパルスをカウントし、カウント数
が4になるとQ3出力が第7図(1)のように゛H″レ
ベルになる。FF116はカウンタ108のQ6出力の
立ち上がりでセットされ、ζ出力が“HI+レベルにな
るのでオアゲート114の出力も第7図0)のように“
°H″レベルになる。オアゲート114の出力が°H”
レベルになるとオアゲート106の出力もl Hl”レ
ベルになり、FF104はリセットされζ出力は“H1
lレベルとなる。従ってオアゲート105の出力もH”
レベルとなりIRED2は消灯する。またオアゲート1
01の出力も“H”レベルになり、カウンタ102のカ
ウントは停止する。このとき制御ブロック20からは測
距動作終了信号であるEND信号とともにゾーン信号で
あるz1信号がH”レベル出力されている。
When I RED2 starts blinking, the light reception block 18 processes the light reception signal at PSD4, and the comparator 87
The output becomes "H" level as shown in FIG. 7(f). FF
Reference numeral 106 receives the output of the comparator 87 as an input, and is also at the "H" level. When the count of the counter 102 progresses and the Q4 output reaches the "l Hl" level as shown in FIG. The counter 108 counts the pulses from the AND gate 107, and when the count reaches 4, the Q3 output goes to the "H" level as shown in FIG. 7(1). The FF 116 is set at the rising edge of the Q6 output of the counter 108, and since the ζ output becomes "HI+ level", the output of the OR gate 114 also becomes "as shown in FIG. 7 (0)".
The output of the OR gate 114 becomes °H" level.
When the level is reached, the output of the OR gate 106 also becomes the “H1” level, the FF 104 is reset, and the ζ output becomes “H1”.
It becomes l level. Therefore, the output of OR gate 105 is also H”
level, and IRED2 turns off. Also, or gate 1
The output of 01 also becomes "H" level, and the counter 102 stops counting. At this time, the control block 20 outputs the END signal, which is the ranging operation end signal, and the z1 signal, which is the zone signal, at H'' level.

次に測距対象が第1図のD2とD3の中間にある場合に
ついて説明する。この時反射光スポットは第2図に示す
4bと40の中間に結像される。
Next, a case where the object to be measured is located between D2 and D3 in FIG. 1 will be described. At this time, the reflected light spot is imaged midway between 4b and 40 shown in FIG.

アンドゲート117の出力のみが“H”レベルであると
き抵抗69,70.71,72.75とOPアンプ78
からなる反転増幅器のゲインGは−R1’/(R2’ 
+ R3’ + R4’ + R6’ )であるから、
表2の関係から明らかなように IA・(G) < III。
When only the output of AND gate 117 is at "H" level, resistors 69, 70.71, 72.75 and OP amplifier 78
The gain G of an inverting amplifier consisting of -R1'/(R2'
+ R3' + R4' + R6'), so
As is clear from the relationship in Table 2, IA・(G) < III.

ゆえに IA−G+Iゎ〉0 となる。このため抵抗79,80.81およびOPアン
プ82からなる加算器の出力はIRED2が点灯すると
KVC以上であり、消灯するとKVC以下になる。した
がってコンパレータ87の出力は“L”レベルとなるの
でFF106のζ出力も“L”レベルであり、アンドゲ
ート107からはパルスは出力されない。カウンタ10
8のカウント数は0のままなのでFFI 16はセット
されず、従ってオアゲート114の出力は“L”レベル
のままでIRED2は点滅を続け、カウンタ102もカ
ウントを続ける。カウンタ102のカウントが進みQ4
出力が“L 11レベルとなり、またQ5出力が“+H
+”レベルになるとインバータ115の出力は“L”レ
ベルになるのでアンドゲート117の出力もL”レベル
になるが、代わりにアンドゲート118の出力が“H”
レベルになる。アンドゲート118の出力が“H”レベ
ルになるとゲインGは−(R+’+ R2′)/(Ra
’ + R4’ + R7)となり、表2の関係がら明
らかなように ■ム・(G)<IB。
Therefore, IA-G+I〉0. Therefore, the output of the adder made up of the resistors 79, 80.81 and the OP amplifier 82 is above KVC when IRED2 is turned on, and below KVC when it is turned off. Therefore, since the output of the comparator 87 is at the "L" level, the ζ output of the FF 106 is also at the "L" level, and no pulse is output from the AND gate 107. counter 10
Since the count number of 8 remains 0, the FFI 16 is not set, so the output of the OR gate 114 remains at the "L" level, the IRED 2 continues to blink, and the counter 102 also continues to count. Counter 102 advances Q4
The output becomes “L 11 level,” and the Q5 output becomes “+H.”
+” level, the output of the inverter 115 becomes “L” level, so the output of AND gate 117 also becomes “L” level, but instead, the output of AND gate 118 becomes “H” level.
become the level. When the output of the AND gate 118 becomes "H" level, the gain G becomes -(R+'+R2')/(Ra
' + R4' + R7), and as is clear from the relationship in Table 2, ■mu・(G)<IB.

ゆえに ■^・G+I++)0 となり、コンパレータ87の出力はやはりL′°しペル
のままでカウンタ102のカウントが進む。
Therefore, ■^・G+I++)0 is obtained, and the output of the comparator 87 is still L'°, and the count of the counter 102 continues as it remains as a pel.

カウンタ102のカウントが進みQ5出力が゛L″レベ
ル、Q6出力が1“H”レベルになると、インバータ1
15の出力がHnレベル、インバータ116の出力が“
L I+レベルになるのでアンドゲート118の出力は
“L′″レベルになり、代わりにアンドゲート119の
出力が°゛H”レベルになる。アンドゲート119の出
力が“HI+レベルになるとゲインGは−(R+’+R
2’+R3′)/(R4”+Rs’)となり、表2の関
係から明らかなように Ih・(−G ) ) IB 。
When the count of the counter 102 progresses and the Q5 output reaches the "L" level and the Q6 output reaches the 1 "H" level, the inverter 1
The output of inverter 15 is at Hn level, and the output of inverter 116 is “
Since the L I+ level is reached, the output of the AND gate 118 becomes the "L'" level, and instead the output of the AND gate 119 becomes the °H level. When the output of the AND gate 119 becomes the "HI+ level", the gain G becomes -(R+'+R
2'+R3')/(R4''+Rs'), and as is clear from the relationship in Table 2, Ih.(-G)) IB.

ゆえに 工^・G+In<0 となる。従ってコンパレータ87の出力は°“H11レ
ベルとなりFF106のQ出力も“HIIレベルとなる
。一方カウンタ102のQ4出力が“H”レベルになる
とアンドゲート107からはパルスが出力され、カウン
タ108はカウントを開始してカウント数が4となった
ところでQ3出力が“i H+”レベルとなり、FF1
13をセットしオアゲート114の出力を°“H”レベ
ルにする。オアゲート114の出力がHI+レベルにな
るとI RED2は消灯し、カウンタ102のカウント
も停止する。このときEND信号およびz3信号が“H
11レベルとなる。
Therefore, ^・G+In<0. Therefore, the output of the comparator 87 becomes the H11 level, and the Q output of the FF 106 also becomes the HII level. On the other hand, when the Q4 output of the counter 102 becomes "H" level, a pulse is output from the AND gate 107, the counter 108 starts counting, and when the count number reaches 4, the Q3 output becomes "i H+" level, and the FF1
13 to bring the output of the OR gate 114 to the "H" level. When the output of the OR gate 114 becomes HI+ level, IRED2 goes out and the counter 102 stops counting. At this time, the END signal and z3 signal are “H”.
It will be level 11.

次に測距対象が第1図のD4より遠い場合について説明
する。この時反射光スポットは第2図に示す4dと4B
の中間に結像される。この場合はさらにカウンタ102
のカウントが進んでアンドゲート119の出力が“H”
レベルとなリゲ・インGが−(R+’+R2′+R3’
)/(RX+Rs)となっても、表2の関係から明らか
なように IA・(−G ) (Is 。
Next, a case where the distance measurement target is farther than D4 in FIG. 1 will be explained. At this time, the reflected light spots are 4d and 4B shown in Figure 2.
The image is formed in the middle of In this case, the counter 102
As the count progresses, the output of AND gate 119 becomes “H”
level and rege in G is -(R+'+R2'+R3'
)/(RX+Rs), as is clear from the relationship in Table 2, IA・(-G)(Is).

ゆえに IA−G+IB)0 となる。従ってコンパレータ87の出力は“L IIレ
ベルのままであり、カウンタ102のカウントはさらに
進み、カウンタ102のQ5出力およびQ6出力が共に
“H”レベルになる。この時アントゲ−)119の出力
は“L“レベルになり、代わりにアンドゲート120の
出力が“°H”レベルになる。
Therefore, IA-G+IB)0. Therefore, the output of the comparator 87 remains at the "L II level", the count of the counter 102 continues, and both the Q5 output and the Q6 output of the counter 102 become "H" level. At this time, the output of the anti-game 119 is " The output of the AND gate 120 becomes the "°H" level instead.

ここでゲインGは−(R1′−トR2’ + R3’ 
+R4’ ) /Rs’ となるが、表2の関係から明
らかなように、 IA・(G)<IB。
Here, the gain G is -(R1' - R2' + R3'
+R4') /Rs', but as is clear from the relationship in Table 2, IA・(G)<IB.

ゆえに IA−G+In)0 となる。コンパレータ87の出力はやはり“′L′ルベ
ルなのでカウンタ102のカウントはさらに進む。カウ
ンタ102のカウントが進んでQ5出力およびQ6出力
が共に“L IIレベルとなりQ7出力がH“レベルに
なると、オアゲート114も°H′。
Therefore, IA-G+In)0. Since the output of the comparator 87 is still a "'L" level, the count of the counter 102 further advances.When the count of the counter 102 advances and both the Q5 output and the Q6 output become the "L II level" and the Q7 output becomes the "H" level, the OR gate 114 Also °H'.

レベルになる。ここでIRE、D2は消灯しカウンタ1
02のカウントも停止する。この時インバータ121の
出力は“L I+レベルなのでアンドゲート117の出
力が“HI+レベルになってもアンドゲート122の出
力は“L I+レベルのままである。したがってEND
信号およびz5信号が°゛H”レベルとなる。以上のよ
うにEND信号が“H1ルベルとなった時にz1信号か
らz5信号までのどの信号が“H′ルベルなのかによっ
て測距対象の距離が検出できる。 ゛ なお上述した原理および実施例は受光素子としてPSD
を前提として説明したが、本発明はPSDに限らず、例
えば第8図に示す受光素子でもよい。第8図において3
01,302はシリコン・フォトダイオードであり、点
線で示す303,304゜605はIREDのスポット
像である。シリコン・フォトダイオード601および6
02は例えば直角三角形の形状をしており、互いに斜辺
が向き合っている。IREDのスポット像は測距対象が
近距離にある時には606の位置に、中距離にある時に
は604の位置に、遠距離にある時には605の位置に
それぞれ結像する。測距対象の距離によってI RED
のスポット像の位置が変化することによりシリコン・フ
ォトダイオード301 、602に入射する光量比が変
化するので、シリコン・フォトダイオード301.30
2に発生する光電流の比も変化することになり、一方の
増幅器のゲインを変化させ、もう一方と比較することに
より距離情報が得られる。
become the level. Here, IRE and D2 go out and counter 1
The count of 02 also stops. At this time, the output of the inverter 121 is at the "L I+ level," so even if the output of the AND gate 117 becomes the "HI+ level," the output of the AND gate 122 remains at the "L I+ level. Therefore, the END
signal and z5 signal become °゛H level.As mentioned above, when the END signal becomes "H1 level", the distance of the object to be measured depends on which signal from z1 signal to z5 signal is "H'level".゛The above-mentioned principles and embodiments apply to PSD as a light receiving element.
Although the description has been made on the assumption that the present invention is not limited to a PSD, the present invention may be applied to a light receiving element shown in FIG. 8, for example. In Figure 8, 3
01 and 302 are silicon photodiodes, and 303 and 304 degrees 605 shown by dotted lines are IRED spot images. Silicon photodiodes 601 and 6
02 have the shape of a right triangle, for example, and the oblique sides thereof face each other. The spot image of the IRED is formed at a position 606 when the object to be measured is at a short distance, at a position 604 when it is at an intermediate distance, and at a position 605 when it is at a long distance. I RED depending on the distance of the distance measurement target
As the position of the spot image changes, the ratio of light amounts incident on the silicon photodiodes 301 and 602 changes.
The ratio of the photocurrents generated in the two amplifiers will also change, and by changing the gain of one amplifier and comparing it with the other, distance information can be obtained.

また上述実施例では増幅器のゲインをデイジタル的に変
化させ距離のゾーン信号を得ることを可能としたが、増
幅器のゲインを決定する抵抗を撮影レンズの距離リング
の回転に応じて変化する可変抵抗とすることにより前ピ
ン、後ピンの表示を行うことも=1能であり、また撮影
レンズをモータな用いてサーボ制御することも可能とな
る。
Furthermore, in the above embodiment, it is possible to digitally change the gain of the amplifier to obtain a distance zone signal, but the resistance that determines the gain of the amplifier is replaced by a variable resistance that changes according to the rotation of the distance ring of the photographing lens. By doing so, it is possible to display the front focus and the rear focus, and it is also possible to servo control the photographic lens using a motor.

以上説明したように本発明によれば、受光手段上の入射
スポット位置に対応した2つの電流出力の関係において
、一方の電流出力を増幅する増幅器のゲインを変化させ
、もう一方の電流出力と比較することにより距離情報を
得るようにしたので信号圧縮手段等を設°けることを必
要とせず、回路の構成が比較的簡単であり、かつダイナ
ミックレンジが小さくなるという欠点は除去される。ま
た比較回路の出力電流の値を距離検出lに直接対応させ
る従来のものとは異なり、比較回路は入力電圧の大小関
係のみを検出するものであるから、電源電圧や温度の変
化による距離検出量の変動はない。従ってカメラの撮影
レンズの位置設定用の距離のゾーン信号は常に正確な値
が確保される。
As explained above, according to the present invention, in the relationship between two current outputs corresponding to the incident spot position on the light receiving means, the gain of the amplifier that amplifies one current output is changed and compared with the other current output. Since distance information is obtained by doing this, there is no need to provide a signal compression means, etc., the circuit configuration is relatively simple, and the disadvantage of a small dynamic range is eliminated. Also, unlike conventional systems in which the value of the output current of the comparator circuit directly corresponds to the distance detection l, the comparator circuit detects only the magnitude relationship of the input voltage, so the amount of distance detected due to changes in the power supply voltage or temperature There is no change in Therefore, the distance zone signal for setting the position of the photographic lens of the camera always has an accurate value.

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

第1〜第6図は本発明の実施例にかかる距離検出装置の
原理を説明するための図、第4図は本発明の実施例にか
かる信号処理回路図、第5〜7図は第4図に示す信号処
理回路図のタイミングチャートまたは波形図、第8図は
本発明の他の実施例に係る受光素子の上面図である。 2・・・赤外発光ダイオード(IRED)、4・・・位
置検出ダイオード(PSD)、14・・・PUC信号発
生ブロック、 16・・・投光ブロック、 18・・・受光ブロック、 20・・・制御ブロック。 特許出願人 キャノン株式会社 c 第2図 lA3図
1 to 6 are diagrams for explaining the principle of a distance detection device according to an embodiment of the present invention, FIG. 4 is a signal processing circuit diagram according to an embodiment of the present invention, and FIGS. A timing chart or a waveform diagram of the signal processing circuit diagram shown in the figure, and FIG. 8 is a top view of a light receiving element according to another embodiment of the present invention. 2... Infrared light emitting diode (IRED), 4... Position detection diode (PSD), 14... PUC signal generation block, 16... Light emitting block, 18... Light receiving block, 20...・Control block. Patent applicant Canon Co., Ltd. c Figure 2 lA3

Claims (1)

【特許請求の範囲】[Claims] 光源より測距対象に光を投射し、前記測距対象による反
射光の受光手段上の入射スポット位置に対応して定まる
2つの電流出力関係によって前記測距対象の距離を検出
する距離検出装置において、前記一方の電流出力を増幅
する増幅器と、前記増幅器の増幅率を変化させる制御手
段と、前記増幅器の出力電流と、前記増幅器を介しない
他方の出力電流とを比較する比較器とを有し、前記比較
器の出力情報と前記増幅率設定情報により前記測距対象
の距離な検出することを特徴とする距離検出装置。
In a distance detection device that projects light from a light source onto a distance measurement target and detects the distance of the distance measurement target based on two current output relationships determined in accordance with the incident spot position on a light receiving means of light reflected by the distance measurement target. , comprising an amplifier that amplifies the one current output, a control means that changes the amplification factor of the amplifier, and a comparator that compares the output current of the amplifier with the other output current that does not go through the amplifier. . A distance detection device, characterized in that the distance of the object to be measured is detected based on the output information of the comparator and the amplification factor setting information.
JP5721584A 1984-03-27 1984-03-27 Distance detector Granted JPS60201310A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5721584A JPS60201310A (en) 1984-03-27 1984-03-27 Distance detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5721584A JPS60201310A (en) 1984-03-27 1984-03-27 Distance detector

Publications (2)

Publication Number Publication Date
JPS60201310A true JPS60201310A (en) 1985-10-11
JPH0535405B2 JPH0535405B2 (en) 1993-05-26

Family

ID=13049300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5721584A Granted JPS60201310A (en) 1984-03-27 1984-03-27 Distance detector

Country Status (1)

Country Link
JP (1) JPS60201310A (en)

Also Published As

Publication number Publication date
JPH0535405B2 (en) 1993-05-26

Similar Documents

Publication Publication Date Title
JPS6060616A (en) Automatic focus adjusting device
JPS59160108A (en) Signal processing circuit for optical semiconductor position detection element
US4758082A (en) Distance detection apparatus
US5087119A (en) Distance measuring apparatus
US4682872A (en) Signal processing apparatus for a semiconductor position sensing device
US4723073A (en) Light emission quantity control device for focus detection
US4573783A (en) Focusing controlling device
JPS60201310A (en) Distance detector
JPS61144615A (en) automatic focus detection device
US4668068A (en) Automatic focus adjustment apparatus
JPS5834312A (en) Active ranging device
JP2878502B2 (en) Automatic focusing device
JPS61226607A (en) Range finder
JPS5988721A (en) camera distance measuring device
JPS61240108A (en) Range finding device
US4673806A (en) Automatic focus adjusting device
US4692012A (en) Automatic focus adjustment apparatus
JPH0576605B2 (en)
JPS62151817A (en) automatic focus detection device
JP2763828B2 (en) Apparatus and method for automatically adjusting video camera focus
JPS63148214A (en) Automatic focusing device
JP2763800B2 (en) Distance measuring device
JPH01116510A (en) Light projecting system automatic focusing device
JPS5960427A (en) camera distance measuring device
JPS5960426A (en) Range finder of camera