JPH0739954B2 - Ranging device - Google Patents
Ranging deviceInfo
- Publication number
- JPH0739954B2 JPH0739954B2 JP29790886A JP29790886A JPH0739954B2 JP H0739954 B2 JPH0739954 B2 JP H0739954B2 JP 29790886 A JP29790886 A JP 29790886A JP 29790886 A JP29790886 A JP 29790886A JP H0739954 B2 JPH0739954 B2 JP H0739954B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- distance
- counter
- optical sensor
- distance measuring
- 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
Links
- 230000003287 optical effect Effects 0.000 claims description 18
- 238000001514 detection method Methods 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 238000005259 measurement Methods 0.000 description 10
- 238000000034 method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 101001080808 Homo sapiens PH and SEC7 domain-containing protein 2 Proteins 0.000 description 1
- 102100027455 PH and SEC7 domain-containing protein 2 Human genes 0.000 description 1
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- LFYJSSARVMHQJB-QIXNEVBVSA-N bakuchiol Chemical compound CC(C)=CCC[C@@](C)(C=C)\C=C\C1=CC=C(O)C=C1 LFYJSSARVMHQJB-QIXNEVBVSA-N 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
Landscapes
- Focusing (AREA)
- Automatic Focus Adjustment (AREA)
- Measurement Of Optical Distance (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、スチールカメラおよびビデオカメラ等の測距
装置に関し、より詳くは、赤外光投射式のいわゆるアク
ティブ方式の測距装置で、2出力を有する光センサーの
出力信号によって距離情報を得るものにおいて、光セン
サーの出力から得られたアナログ信号をA/D交換する際
の特殊条件下における処理手段に関する。Description: TECHNICAL FIELD The present invention relates to a distance measuring device such as a still camera and a video camera, more specifically, an infrared light projection type so-called active type distance measuring device, The present invention relates to a processing means under special conditions when A / D exchange of an analog signal obtained from an output of an optical sensor in the case of obtaining distance information from an output signal of an optical sensor having two outputs.
[従来技術] アクティブ方式の測距装置で、2出力を有する光センサ
ーの出力信号を演算し、写真撮影の被写体までの距離を
求める方法については、既に様々な方法が提案されてい
る。その中で、光センサーの出力を演算増幅等を行なう
ためにアナログICを介し、得られた出力信号を時間に変
換し、さらにA/D変換してデジタル値にした後、距離演
算を行なう方法に関しては、同一出願人による公開公報
(特開昭61−231410号)に記載している通りである。[Prior Art] Various methods have been already proposed for a method for calculating the output signal of an optical sensor having two outputs and obtaining the distance to a subject for photography with an active distance measuring device. Among them, a method of performing distance calculation after converting the obtained output signal into time through an analog IC to perform operational amplification of the output of the optical sensor, and further A / D converting it to a digital value. This is as described in the publication of the same applicant (Japanese Patent Laid-Open No. 61-231410).
斯る方式のA/D変換部においては、ゲート時間内に通過
するクロックパルス数をカウンターによってカウント
し、その数値を記憶するのが通例である。しかし、上記
ゲート時間は、光センサーで得られた情報量に基づいて
発生するために特殊条件下、すなわち被写体が極めて近
い場合あるいは遠い場合等においては、予測出来ず長く
なったりすることが起り得る。その結果上記カウンター
がオーバーフローしてしまい、全くの誤測距となる欠点
を有していた。In such an A / D converter, it is customary to count the number of clock pulses passing within the gate time by a counter and store the value. However, since the gate time is generated based on the amount of information obtained by the optical sensor, it may become unpredictably long under special conditions, that is, when the subject is extremely close or far. . As a result, the above-mentioned counter overflows, and there is a drawback that the distance measurement is completely erroneous.
[目的] 本発明は、このような問題に鑑みてなされたものであ
り、その目的とするところは、撮影時における被写体ま
での距離が著しく近い場合、あるいは遠い場合等の特殊
条件下においても誤測距することなく、適正な測距結果
を得るようにすることにある。[Purpose] The present invention has been made in view of such a problem, and an object thereof is to make an error even under a special condition such that the distance to a subject at the time of shooting is extremely short or far. It is to obtain an appropriate distance measurement result without distance measurement.
[目的を達成するための手段] すなわち、本発明は上記目的を達成すべく、光センサー
の2出力信号量にそれぞれ対応する時間をA/D変換する
ためのカウンターのオーバーフロー検知回路を設け、被
写体が特殊条件下にあり、上記カウンターがオーバーフ
ローした場合には、撮影レンズを至近ステップに移動さ
せるための測距信号、あるいは最遠ステップに移動させ
るための測距信号を設定することによって特定の撮影距
離へ強制的にレンズセットするようにしたものである。[Means for Achieving the Object] That is, in order to achieve the above object, the present invention is provided with a counter overflow detection circuit for A / D converting the time corresponding to the two output signal amounts of the optical sensor, Is under special conditions and the counter overflows, set a distance measurement signal to move the shooting lens to the closest step or a distance measurement signal to move the shooting lens to the farthest step. The lens is forcibly set to the distance.
[実施例] 以下、本発明の詳細を図示した実施例に基づいて説明す
る。[Examples] Hereinafter, details of the present invention will be described based on illustrated examples.
第1図は、本発明の測距装置をカメラに応用した実施例
を示すものであり、図中の番号1は、三角測距の原理を
利用した測距回路であって、PSDの如き光センサー2の
両端から出力される電流i1,i2は増幅器5a,5b、電圧電流
変換器6a,6bによって、それぞれI1=k×i1,I2=k×i2
に増幅される。7a,7bは切換スイッチで、それぞれに対
する制御線8a,8bが「H」のとき導通し、「L」のとき
遮断される。なお、図中3は、発光素子を、また、4a,4
bは集光レンズをそれぞれ示す。FIG. 1 shows an embodiment in which the distance measuring device of the present invention is applied to a camera. Number 1 in the drawing is a distance measuring circuit utilizing the principle of triangulation distance measurement, which is an optical device such as PSD. The currents i1 and i2 output from both ends of the sensor 2 are respectively I1 = k × i1 and I2 = k × i2 by the amplifiers 5a and 5b and the voltage / current converters 6a and 6b.
Is amplified to. 7a and 7b are changeover switches, which are turned on when the control lines 8a and 8b for the respective switches are "H" and cut off when they are "L". In the figure, 3 is a light emitting element, and 4a, 4
b indicates a condenser lens, respectively.
今、受光光軸とPCDの電気的中心位置を一致させる系を
考える。Now consider a system in which the optical axis of the received light and the electrical center position of the PCD coincide.
この測距回路1は、被写体までの距離をL,PSDの長さを
d,基線長(レンズ間隔)b,光点の形成位置と受光光軸と
の距離をxとすると(第4図)、PSD2の各出力端子から
の出力電流は、i1=(d+2x)/2d・F,i2=(d−2x)/
2d・Fとなる。(但し、Fは被写体までの距離とその反
射率で決まる光点の強度である。)一方、受光光軸と光
点との距離xは、レンズ4dからPSD受光面までの受光光
軸上の距離をfとすると、f・b/Lで表わせるから、 となる。This distance measuring circuit 1 measures the distance to the subject as L, the length of PSD
When d is the base line length (lens interval) b, and the distance between the light spot formation position and the light receiving optical axis is x (Fig. 4), the output current from each PSD2 output terminal is i1 = (d + 2x) / 2d.・ F, i2 = (d-2x) /
It becomes 2d · F. (However, F is the intensity of the light spot determined by the distance to the subject and its reflectance.) On the other hand, the distance x between the light receiving optical axis and the light spot is on the light receiving optical axis from the lens 4d to the PSD light receiving surface. If the distance is f, it can be expressed as f · b / L, Becomes
故に、被写体までの距離Lは、前記増幅された電流I1=
k・i1,i2=k・i2で表わすと となる。Therefore, the distance L to the subject is equal to the amplified current I1 =
If k · i1, i2 = k · i2 Becomes
この測距回路1は、被写体までの距離Lが遠距離である
場合、PSDの光点の強度は非常に弱くなり、故にi1,i2は
微少電流となる。In the distance measuring circuit 1, when the distance L to the subject is a long distance, the intensity of the PSD light spot becomes very weak, and therefore i1 and i2 are minute currents.
また、被写体までの距離Lが、至近にある場合x≒d/2
となり、i2=(d−2x)/2d・Fは微少電流となる。Also, when the distance L to the subject is very close, x≈d / 2
And i2 = (d−2x) / 2d · F is a minute current.
ワンショットマルチバイブレータ10(以下、OSTとい
う。)は、CPUの出力端子16から送られるトリガー信号
に同期して、切換スイッチ7a,7bより時分割で送られて
くる電流I1,I2に反比例するパルス幅を出力するように
構成されている。クロック発振器11は、所定のクロック
パルスを出力し、アンドゲート18の一方の入力端子に接
続されている。アンドゲート18のもう一方の入力端子に
は、OSTの出力端子が接続されていて、2進カウンター1
2でワンショット出力パルス幅をクロックパルスで計数
する。また、OSTの出力端子は2進カウンター12を介し
てCPUの入力端子にも接続されている。オーバーフロー
検知手段13は、2進カウンターと接続されていて、2進
カウンター12が計数できる最大値を越えた時、CPUへオ
ーバーフロー検知信号を出力する。CPUの出力端子19か
らは、OSTと2進カウンターをクリアーする信号が出力
される。14は、レンズ駆動回路でCPUから命令を受け、
レンズを所定の位置に停止せしめる。The one-shot multivibrator 10 (hereinafter referred to as OST) is a pulse that is in inverse proportion to the currents I1 and I2 sent from the changeover switches 7a and 7b in time division in synchronization with the trigger signal sent from the output terminal 16 of the CPU. It is configured to output width. The clock oscillator 11 outputs a predetermined clock pulse and is connected to one input terminal of the AND gate 18. The output terminal of the OST is connected to the other input terminal of the AND gate 18, and the binary counter 1
At 2, the one-shot output pulse width is counted by the clock pulse. The output terminal of the OST is also connected to the input terminal of the CPU via the binary counter 12. The overflow detection means 13 is connected to a binary counter, and outputs an overflow detection signal to the CPU when the maximum value that can be counted by the binary counter 12 is exceeded. A signal that clears the OST and the binary counter is output from the output terminal 19 of the CPU. 14 is a lens drive circuit that receives an instruction from the CPU,
Stop the lens in place.
次に、この様に構成した装置の作動を、第1図の実施例
および第3図に示したフローチャートに基づいて説明す
る。被写体までの距離を測距すべく、例えばレリーズ釦
を押下すると、発光素子3が発光し、次いで7aのスイッ
チをONし、電流信号I1をOSTに入力させる。CPUの出力端
子16から、OSTにトリガー信号が出力されると、OSTの出
力端子17は、コンデンサ9、電流I1、OSTしきい値電圧V
thで決まる時間幅のパルス幅T1を出力する。このパルス
幅T1は、ゲート18を開にして11より出力されるクロック
パルスCK1を2進カウンター12入力させ、パルス幅に一
致するクロックパルス数を2進カウンター12に計数させ
る。このパルス幅T1は、 により表わされる。Next, the operation of the thus constructed apparatus will be described based on the embodiment shown in FIG. 1 and the flow chart shown in FIG. When, for example, the release button is pressed to measure the distance to the subject, the light emitting element 3 emits light, then the switch 7a is turned on, and the current signal I1 is input to the OST. When the trigger signal is output from the CPU output terminal 16 to the OST, the output terminal 17 of the OST outputs the capacitor 9, the current I1, and the OST threshold voltage V
The pulse width T1 of the time width determined by th is output. With this pulse width T1, the clock pulse CK1 output from 11 by opening the gate 18 is input to the binary counter 12, and the number of clock pulses matching the pulse width is counted by the binary counter 12. This pulse width T1 is Is represented by
このとき、被写体が遠距離にある場合、I1は微少とな
り、故にT1が長くなると2進カウンター12は計数できる
最大値を越え、オーバーフロー検知手段13よりCPUにオ
ーバーフロー信号が送られると、OSTおよび2進カウン
ターは、CPU出力端子19から出力される信号によりクリ
アーされ、測定を中止し、最遠設定距離の条件をセット
する。At this time, when the subject is at a long distance, I1 becomes very small. Therefore, when T1 becomes long, the binary counter 12 exceeds the maximum value that can be counted, and when an overflow signal is sent from the overflow detection means 13 to the CPU, OST and 2 The advance counter is cleared by the signal output from the CPU output terminal 19, stops the measurement, and sets the condition of the farthest set distance.
オーバーフロー検知信号が出力されず、パルス幅T1の出
力が終了した時点で、CPUは2進カウンター12の計数値
をリードし、切換スイッチ7aをOFFし、7bをONにして、O
STにI2入力させ、次いでトリガーパルスを出力する。こ
れによりOSTは電流I2に反比例する時間幅 のパルス幅T2を出力する。When the overflow detection signal is not output and the output of the pulse width T1 is completed, the CPU reads the count value of the binary counter 12, turns off the changeover switch 7a, turns on 7b,
I2 is input to ST, and then a trigger pulse is output. This makes OST a time width inversely proportional to the current I2. The pulse width T2 of is output.
この時被写体が至近にある場合、I2は前記の理由により
微少電流となり、故にT2は長くなって、オーバーフロー
検知信号が出力されると、測定は中止され、設定距離が
至近にセットされる。At this time, when the subject is in the vicinity, I2 becomes a minute current for the above reason, and therefore T2 becomes long, and when the overflow detection signal is output, the measurement is stopped and the set distance is set to the close distance.
オーバーフロー出力信号が検出されず、パルス幅T2の出
力を終えると、CPUはT2に一致する計数値をリードす
る。When the overflow output signal is not detected and the output of the pulse width T2 is finished, the CPU reads the count value corresponding to T2.
これらのパルス数P1,P2と被写体までの距離Lとの関係
は次式で与えられる。The relationship between these pulse numbers P1 and P2 and the distance L to the subject is given by the following equation.
いうまでもなく、この関係式はC,Vthのバラツキおよび
光点の強度のバラツキのファクターは含まれない。 Needless to say, this relational expression does not include the factors of variations in C, Vth and intensities of light spots.
CPUは、(P2−P1)/(P1+P2)の演算を行ない、予めR
OM(READ ONLY MEMORY)に被写体までの距離に対応する
(P2−P1)/(P1+P2)を記憶させておき、演算値より
記憶値を選択することにより設定距離を決定する。The CPU calculates (P2-P1) / (P1 + P2) and R
The (P2-P1) / (P1 + P2) corresponding to the distance to the subject is stored in the OM (READ ONLY MEMORY), and the set distance is determined by selecting the stored value from the calculated value.
第1表は、CPUのROMに(P2−P1)/(P1+P2)を記憶し
た例であり、このステップ量は任意に設定可能である。Table 1 is an example in which (P2-P1) / (P1 + P2) is stored in the ROM of the CPU, and this step amount can be set arbitrarily.
次いで設定距離に対応する信号が、レンズ駆動回路14に
入力されて、レンズ駆動回路は不図示のレンズを、所定
の位置へ駆動する。Then, a signal corresponding to the set distance is input to the lens drive circuit 14, and the lens drive circuit drives a lens (not shown) to a predetermined position.
この実施例において、ワンショットマルチバイブレータ
を使用しているが、特にこれに限定している訳でなく、
例えばコンパレータを用いてパルスに変換してもよい。
また、光センサーは例としてPSDを用いて説明したが、
2分割のSPD(シリコンフォトダイオード)を用いても
よい。さらに、本測距装置は上記実施例のカメラに限る
ものでなく、他の機器にも応用できることはいうまでも
ない。 In this embodiment, the one-shot multivibrator is used, but it is not particularly limited to this.
For example, a pulse may be converted using a comparator.
Also, the optical sensor has been described using PSD as an example,
You may use SPD (silicon photodiode) of 2 divisions. Further, it goes without saying that the distance measuring apparatus is not limited to the camera of the above-described embodiment and can be applied to other devices.
[効果] 以上の説明から明らかなように、本発明の測距装置によ
れば、極めて近くにある被写体に対してA/D変換用のカ
ウンターがオーバーフローすることによって遠距離と判
定してしまったり、逆に遠くの被写体を近距離と判定す
る様な誤測距のない優れた測距装置を提供できる。ま
た、この測距装置をカメラに登載することにより、遠距
離に対する高精度化、近距離に対しては撮影範囲の拡大
等に関して極めて有効である。[Effect] As is clear from the above description, according to the distance measuring apparatus of the present invention, the A / D conversion counter overflows for a subject that is extremely close to the object, so that the object is determined to be a long distance. On the contrary, it is possible to provide an excellent distance measuring device without erroneous distance measurement such that a far object is judged to be a short distance. Further, by mounting this distance measuring device on a camera, it is extremely effective in improving the accuracy for long distances and expanding the photographing range for short distances.
第1図は本発明の測距装置を示した回路ブロック図、第
2図は第1図の測距装置の作動説明のためのタイムチャ
ート、第3図は本発明の測距装置のフローチャート、第
4図は測距原理説明のための図である。 主な番号の説明 1……測距回路 2……光センサー(PSD) 3……発光素子 4a,4b……レンズ 5a,5b……増幅器 7a,7b……切換スイッチ 15……CPU1 is a circuit block diagram showing the distance measuring device of the present invention, FIG. 2 is a time chart for explaining the operation of the distance measuring device of FIG. 1, and FIG. 3 is a flowchart of the distance measuring device of the present invention. FIG. 4 is a diagram for explaining the principle of distance measurement. Explanation of main numbers 1 …… Distance measuring circuit 2 …… Optical sensor (PSD) 3 …… Light emitting element 4a, 4b …… Lens 5a, 5b …… Amplifier 7a, 7b …… Changeover switch 15 …… CPU
───────────────────────────────────────────────────── フロントページの続き (72)発明者 谷脇 道夫 千葉県四街道市鹿渡934−13番地 株式会 社精工舎千葉事業所内 (56)参考文献 実公 平6−26805(JP,Y2) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Michio Taniwaki, 934-13 Shikato, Yotsukaido, Chiba, Ltd. Inside the Chiba Works, Seikosha Co., Ltd. (56) References
Claims (1)
の出力を有する光センサーで反射光を受け、該光センサ
ーのそれぞれの出力に応じた時間をA/D変換するための
カウンターを有し、該カウンターでカウントされる光セ
ンサーの2出力に対応したカウント値を記憶する記憶手
段と、該記憶手段に記憶されたカウント値を演算する演
算手段とを有する測距装置において、前記カウンターの
オーバーフローを検出する手段を有し、前記光センサー
の出力の第1の出力により前記カウンターのオーバーフ
ロー検出信号が出力した場合には前記演算手段により最
遠距離と判定し、前記光センサー出力の第2の出力によ
り前記カウンターのオーバーフロー出力信号が出力した
場合には前記演算手段により至近距離と判定する手段を
備えたことを特徴とする測距装置。1. A light-emitting element for projecting light toward an object, receiving a reflected light by an optical sensor having two outputs, and performing A / D conversion on a time corresponding to each output of the optical sensor. A distance measuring device having a counter, storing means for storing a count value corresponding to two outputs of an optical sensor counted by the counter, and calculating means for calculating the count value stored in the storage means, When the overflow detection signal of the counter is output by the first output of the output of the optical sensor, the arithmetic means determines the farthest distance, and outputs the optical sensor output. When the overflow output signal of the counter is output by the second output of the counter, the calculating means determines the short distance. That the distance measuring apparatus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29790886A JPH0739954B2 (en) | 1986-12-15 | 1986-12-15 | Ranging device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP29790886A JPH0739954B2 (en) | 1986-12-15 | 1986-12-15 | Ranging device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63150613A JPS63150613A (en) | 1988-06-23 |
| JPH0739954B2 true JPH0739954B2 (en) | 1995-05-01 |
Family
ID=17852651
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP29790886A Expired - Fee Related JPH0739954B2 (en) | 1986-12-15 | 1986-12-15 | Ranging device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0739954B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2906240B2 (en) * | 1988-11-15 | 1999-06-14 | 株式会社ニコン | Camera auto focus device |
| JPH055620A (en) * | 1991-06-27 | 1993-01-14 | Seikosha Co Ltd | Distance detector |
-
1986
- 1986-12-15 JP JP29790886A patent/JPH0739954B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63150613A (en) | 1988-06-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3406656B2 (en) | Distance measuring device | |
| US6522393B2 (en) | Distance measuring device | |
| JPH0739954B2 (en) | Ranging device | |
| JP3252293B2 (en) | Distance measuring device | |
| JPH02230227A (en) | Automatic focusing device for camera | |
| JPH0626805Y2 (en) | Ranging device | |
| JP2638607B2 (en) | Distance measuring device | |
| JPH04136829A (en) | Range-finder device for moving body | |
| JP3087072B2 (en) | Camera ranging device | |
| JP3140454B2 (en) | Moving object ranging device | |
| JPH0618259A (en) | Range finder for camera | |
| JP2912682B2 (en) | Object speed detector | |
| JPH04359214A (en) | Range-finding device for camera | |
| JP2888492B2 (en) | Distance information output device | |
| JP3117227B2 (en) | Distance detection device | |
| JP3041028B2 (en) | Object motion detection device | |
| JP3077998B2 (en) | Moving speed detector | |
| JPH0412804B2 (en) | ||
| JPH0522843B2 (en) | ||
| JP2731159B2 (en) | Camera multipoint ranging device | |
| JPH0534578A (en) | Ranging device | |
| JP3584087B2 (en) | Camera ranging device | |
| JPS61240111A (en) | distance detection device | |
| JPH04225308A (en) | Moving body range finder | |
| JPH0534580A (en) | Distance measuring device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |