JP3102965B2 - Distance measuring device - Google Patents

Distance measuring device

Info

Publication number
JP3102965B2
JP3102965B2 JP5268593A JP5268593A JP3102965B2 JP 3102965 B2 JP3102965 B2 JP 3102965B2 JP 5268593 A JP5268593 A JP 5268593A JP 5268593 A JP5268593 A JP 5268593A JP 3102965 B2 JP3102965 B2 JP 3102965B2
Authority
JP
Japan
Prior art keywords
luminance
pair
signal
aperture
output
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
JP5268593A
Other languages
Japanese (ja)
Other versions
JPH06265347A (en
Inventor
和道 堤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5268593A priority Critical patent/JP3102965B2/en
Publication of JPH06265347A publication Critical patent/JPH06265347A/en
Application granted granted Critical
Publication of JP3102965B2 publication Critical patent/JP3102965B2/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)
  • Exposure Control For Cameras (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 method for measuring a distance to an object in accordance with the principle of triangulation by processing image symbols output from a pair of image sensors on which an object for distance measurement is formed. It relates to a distance device.

【0002】[0002]

【従来の技術】以下、従来の測距装置を図について説明
する。尚、従来装置について説明する前に、測距装置の
動作原理を図4に従って説明する。図4は測距原理を説
明するための光学系及び撮像素子の配置を示す図ある。
図において、1は距離測定用の対象物(以下、対象物と
記載する)、2R及び2Lは多数のセグメント例えばCC
Dより構成された左右一対の撮像素子、3R及び3Lは撮
像素子2R,2L上に対象物1を結像する焦点距離Fを持
つ左右一対のレンズであり、互いに基線長Bの間隔を置
いて配置されている。4は撮像素子2R,2Lから出力さ
れた画像信号を、所定の手順に従って処理し、対象物1
までの距離Dを算出するコンピュータユニットである。
2. Description of the Related Art A conventional distance measuring apparatus will be described below with reference to the drawings. Before describing the conventional device, the operating principle of the distance measuring device will be described with reference to FIG. FIG. 4 is a diagram showing an arrangement of an optical system and an image sensor for explaining the principle of distance measurement.
In the figure, 1 is an object for distance measurement (hereinafter referred to as an object), 2 R and 2 L are a number of segments such as CC
A pair of left and right imaging elements 3 R and 3 L constituted by D are a pair of left and right lenses having a focal length F for imaging the object 1 on the imaging elements 2 R and 2 L. They are arranged at intervals. 4 processes the image signals output from the imaging elements 2 R and 2 L according to a predetermined procedure, and
It is a computer unit that calculates the distance D to the computer.

【0003】レンズ3R ,3L は所定の基線長Bを置い
て左右対称に離隔して配置されているので、各撮像素子
R,2L上の結像位置は、各レンズ3R,3Lの中心点か
らXR,XLのずれ、即ち視差を生じる。この視差XR
L、各レンズ3R,3L間の基線長B、レンズ2R,2L
の焦点距離F、及び対象物1までの距離Dとの関係は、
三角測量の原理より以下の(1)式にて与えられる。
Since the lenses 3 R and 3 L are symmetrically spaced apart from each other with a predetermined base line length B, the image forming position on each image sensor 2 R and 2 L is determined by the position of each lens 3 R and 3 L. 3 L X R from the center point of the X L displacement, i.e. resulting parallax. This parallax X R ,
X L , base length B between each lens 3 R , 3 L , lens 2 R , 2 L
The relationship between the focal length F and the distance D to the object 1 is
It is given by the following equation (1) based on the principle of triangulation.

【0004】 D=B×F/(XR+XL) ・・・(1)D = B × F / (X R + X L ) (1)

【0005】従って(1)式より明らかなように、対象
物1までの距離Dは、視差(XR+XL)を求め、この視
差と共に、規定の基線長B、焦点距離Fを(1)式に代
入することにより求めることが出来る。その距離演算処
理を行うためにコンピュータユニット4は、撮像素子2
R,2Lより結像された対象物1の画像信号を取り込み、
公知のパターンマッチングのアルゴリズムに従って、こ
の視差(XR+XL)を求める。そして、(1)式に従っ
て、対象物1までの距離Dを算出する。
Accordingly (1) As is clear from equation, the distance D to the object 1, the parallax (X R + X L) look, with this disparity, the provisions of the baseline length B, and a focal length F (1) It can be obtained by substituting into the equation. In order to perform the distance calculation processing, the computer unit 4
R , 2 L The image signal of the object 1 formed from L is taken in,
According to the algorithm known pattern matching, obtaining the parallax (X R + X L). Then, the distance D to the object 1 is calculated according to the equation (1).

【0006】ところで、一般にこのような撮像素子を使
用した測距装置においては、撮像素子2R,2Lへの入射
光量は、レンズ3R,3Lの前方に配置した図示しない絞
り機構の開口面積により調節される。図5は例えば特公
平4−57152号公報に示された、絞り機構を設けた
従来の測距装置の一部構成を示すブロック図である。図
において、2は撮像素子、3はレンズ、5は撮像素子2
への入射光量を調節する絞り機構、6は撮像素子2の出
力、即ち輝度信号を増幅するプリアンプ、7はプリアン
プ6の出力信号を絞り機構5の絞り制御用に増幅するア
ンプ、8はアンプ7の出力信号を平均化して撮像素子2
上に結像された対象物の画像全体の平均輝度を求める平
均回路、9は平均回路8で求められた平均輝度と、予め
設定された目標輝度VTとを比較し、各輝度の差に応じ
た値の信号を出力する比較器、10は比較器9から出力
された信号の値に応じた駆動信号を出力するドライブ回
路、11はドライブ回路10からの駆動信号にて駆動さ
れて絞り機構5の開口面積を変化させる駆動コイルであ
る。
In general, in a distance measuring apparatus using such an image sensor, the amount of light incident on the image sensors 2 R and 2 L is determined by the aperture of an aperture mechanism (not shown) disposed in front of the lenses 3 R and 3 L. Adjusted by area. FIG. 5 is a block diagram showing a partial configuration of a conventional distance measuring apparatus provided with an aperture mechanism, which is disclosed in, for example, Japanese Patent Publication No. 4-57152. In the figure, 2 is an image sensor, 3 is a lens, 5 is an image sensor 2
A diaphragm mechanism for adjusting the amount of incident light to the light source; 6, a preamplifier for amplifying the output of the image sensor 2, that is, a luminance signal; 7, an amplifier for amplifying the output signal of the preamplifier 6 for diaphragm control of the diaphragm mechanism 5; Averages the output signals of
Averaging circuit for obtaining an average brightness of the entire image of the object imaged on, 9 compares the average luminance obtained by the averaging circuit 8, and a target brightness V T which is set in advance, the difference between the luminance A comparator 10 outputs a signal having a value corresponding to the drive signal. A drive circuit 10 outputs a drive signal corresponding to the value of the signal output from the comparator 9. A drive mechanism 11 is driven by a drive signal from the drive circuit 10. 5 is a drive coil for changing the opening area.

【0007】次に、従来の測距装置の動作について説明
する。撮像素子2にレンズ3を通して図示しない対象物
を結像させるため、絞り機構5の開口面積を駆動コイル
11の作用によって変化させると、開口面積に応じた量
の光が撮像素子2に入射される。その結果、撮像素子2
は光量に応じた値の輝度信号をプリアンプ6へ出力す
る。プリアンプ6は入力された輝度信号を所定レベルに
増幅する。そして、この増幅された輝度信号は図示しな
いA/D変換器へ出力されてデジタル信号に変換されて
信号処理に供される。
Next, the operation of the conventional distance measuring device will be described. When the aperture area of the aperture mechanism 5 is changed by the operation of the drive coil 11 to form an image of an object (not shown) on the image sensor 2 through the lens 3, an amount of light corresponding to the aperture area is incident on the image sensor 2. . As a result, the image sensor 2
Outputs a luminance signal of a value corresponding to the light amount to the preamplifier 6. The preamplifier 6 amplifies the input luminance signal to a predetermined level. The amplified luminance signal is output to an A / D converter (not shown), converted into a digital signal, and used for signal processing.

【0008】また、プリアンプ6から出力された輝度信
号は絞り機構5の制御信号として用いるべく、そのレベ
ルをアンプ7で高める。このように、撮像素子2を構成
するセグメントより出力された輝度信号は総てプリアン
プ6、アンプ7で増幅される。そして、増幅された総て
の輝度信号は平均回路8に入力されて信号レベルの平均
値が求められることで、撮像素子2上に結像された画像
全体の平均輝度が求まる。
Further, the level of the luminance signal output from the preamplifier 6 is increased by the amplifier 7 so as to be used as a control signal for the aperture mechanism 5. As described above, all the luminance signals output from the segments constituting the image sensor 2 are amplified by the preamplifier 6 and the amplifier 7. Then, all the amplified luminance signals are input to the averaging circuit 8, and the average value of the signal levels is obtained, whereby the average luminance of the entire image formed on the image sensor 2 is obtained.

【0009】求められた平均輝度は比較器9において、
予め設定された目標輝度VTと比較され、目標輝度VT
の差に応じた信号がドライブ回路10に出力される。ド
ライブ回路10は比較器9より信号を入力すると信号レ
ベルに応じた分だけ絞り機構5の開口面積を変化させる
ために、駆動コイル11へ励磁電流を流す。すると磁化
した駆動コイル11の働きにより絞り機構5の開口面積
は変化し、目標輝度VTに見合うべき量の光をレンズ3
を通して撮像素子2へ入射させる。
The calculated average luminance is calculated by a comparator 9.
It is compared with a preset target brightness V T, a signal corresponding to the difference between the target brightness V T is outputted to the drive circuit 10. When a signal is input from the comparator 9, the drive circuit 10 supplies an excitation current to the drive coil 11 in order to change the opening area of the aperture mechanism 5 by an amount corresponding to the signal level. Then the opening area of the diaphragm mechanism 5 by the action of the driving coil 11 is magnetized changes, the lens 3 the light quantity to meet the target luminance V T
Through to the image sensor 2.

【0010】この時、例えば絞り機構5が絞り過ぎの状
態にあり開口面積が狭まった状態にあると、撮像素子2
より十分な輝度信号が得られない。その結果、平均回路
8で求められた平均輝度は目標輝度VTより低い値をと
るので、比較器9より出力される差の信号は大きくなる
ため、その信号を受けるドライブ回路10は駆動コイル
11に大きな値の駆動信号を出力するので絞り機構5の
開口面積は広がり入射光量は増加する。
At this time, for example, if the aperture mechanism 5 is in an over-aperture state and the aperture area is in a narrow state, the image sensor 2
A more sufficient luminance signal cannot be obtained. As a result, the average luminance calculated by the average circuit 8 takes a value lower than the target brightness V T, for the greater difference signal output from the comparator 9, the drive circuit 10 drives the coil 11 which receives the signal Therefore, the aperture area of the diaphragm mechanism 5 is widened and the amount of incident light increases.

【0011】また、逆に絞り機構5の絞りが過小気味の
状態にあり開口面積が広がると、撮像素子2より大きな
な輝度信号が得られない。そのため、平均回路8にて求
められた平均輝度は目標輝度VTより高い値をとるの
で、比較器9より出力される差の信号は小さくなり、そ
の信号を受けるドライブ回路10は駆動コイル11に小
さい値の駆動電流を出力するので絞り機構5の開口面積
は狭まり入射光量は減少する。以上の様にして、絞り機
構5は平均輝度が目標輝度VTと一致するように負帰還
制御される。
On the other hand, if the aperture of the aperture mechanism 5 is too small and the aperture area is widened, a luminance signal larger than that of the image sensor 2 cannot be obtained. Therefore, the average luminance obtained by averaging circuit 8 takes a higher target brightness V T value, the signal of the difference output from the comparator 9 becomes small, the drive circuit 10 which receives the signal to the drive coil 11 Since the driving current having a small value is output, the aperture area of the diaphragm mechanism 5 is reduced, and the incident light amount is reduced. In the above manner, the diaphragm mechanism 5 is negative feedback control so that the average luminance coincides with the target luminance V T.

【0012】[0012]

【発明が解決しようとする課題】以上のように、従来の
絞り制御機構を適用した測距装置は、左右の撮像素子の
輝度信号のレベルを比較して左右の撮像素子上の視差
(XR+XL)を求めるので、左右の撮像素子の輝度信号
のレベルが精度良く一致していることが重要である。し
かし、上述した絞り制御にて求められた平均輝度を目標
輝度(VT )に精度良く一致させるには、負帰還制御の
制御ゲインを高く設定する必要があるが、このように制
御ゲインを高く設定すると、制御系が不安定となり、例
えば対象物の明るさが急変したりすると絞り制御が安定
せずハンチングが生じるという問題があった。
As described above, in the distance measuring apparatus to which the conventional aperture control mechanism is applied, the parallax (X R) on the left and right image sensors is compared by comparing the levels of the luminance signals of the left and right image sensors. + X L ), it is important that the levels of the luminance signals of the left and right imaging elements match with high accuracy. However, it is necessary to set the control gain of the negative feedback control to be high in order to make the average brightness obtained by the above-described aperture control accurately coincide with the target brightness (V T ). If it is set, the control system becomes unstable. For example, when the brightness of the object suddenly changes, the aperture control becomes unstable and hunting occurs.

【0013】この発明は、上記のような問題点を解決す
るためになされたものであって、左右の撮像素子の輝度
信号のレベルが精度よく一致するとともに、絞り制御が
安定に動作する測距装置を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and a distance measuring method in which the levels of the luminance signals of the left and right image pickup devices accurately match and the aperture control operates stably. The aim is to obtain a device.

【0014】[0014]

【課題を解決するための手段】この発明における測距装
置は、測定対象物を結像する左右一対の撮像素子と、こ
の左右一対の撮像素子への入射光量を調節する左右一対
の絞り機構と、前記左右一対の撮像素子より得られる輝
度信号を予め設定した目標輝度と一致する様に前記絞り
機構の開口面積を制御する左右一対の制御手段と、前記
左右一対の撮像素子より得られる輝度信号の差を検出
し、この輝度信号の差に応じて左と右の輝度信号が一致
する様に、左右いずれか一方の制御手段で設定された目
標輝度を補正する補正回路とを備えたものである。
A distance measuring apparatus according to the present invention comprises a pair of left and right image pickup devices for forming an image of an object to be measured, and a pair of left and right aperture mechanisms for adjusting the amount of light incident on the pair of left and right image pickup devices. A pair of left and right control means for controlling an opening area of the diaphragm mechanism so that a luminance signal obtained from the pair of left and right image sensors coincides with a preset target luminance; and a luminance signal obtained from the pair of right and left image sensors. And a correction circuit that corrects a target luminance set by one of the left and right control means so that the left and right luminance signals match according to the difference between the luminance signals. is there.

【0015】[0015]

【作用】この発明における測距装置は、左右一対の撮像
素子にて検出された輝度信号の値と予め設定された目標
輝度信号の値との差に応じて左右一対の絞り機構の開口
面積を左右独立に復帰還制御すると共に、左右一対の撮
像素子の輝度信号の値を検出された左右の輝度信号の値
の差に応じて補正するようにしたので絞り制御の安定性
を損なうことなく、左右が精度よく一致した輝度信号を
得ることが出来る。
According to the distance measuring apparatus of the present invention, the opening area of the pair of left and right aperture mechanisms is determined in accordance with the difference between the value of the luminance signal detected by the pair of left and right imaging elements and the value of the preset target luminance signal. The return control is performed independently for the left and right, and the value of the luminance signal of the pair of left and right imaging elements is corrected according to the difference between the detected values of the left and right luminance signals, so that the stability of the aperture control is not impaired, It is possible to obtain a luminance signal in which the left and right coincide with each other with high accuracy.

【0016】[0016]

【実施例】以下、この発明の一実施例を、図について説
明する。図1は本実施例における測距装置の構成を示す
ブロック図である。図において、2R,2Lは、従来装置
と同様の撮像素子、3R,3Lは撮像素子2R,2L上に図
示しない対象物の像を結ぶレンズ、5R,5Lは撮像素子
R,2Lへの入射光量を調節する絞り機構、6R,6L
撮像素子2R,2Lの輝度信号を増幅するプリアンプ、7
R,7Lはプリアンプ6R,6Lの出力信号を以降の絞り制
御用に増幅するアンプ、8R,8Lはアンプ7R,7Lの出
力信号を平均化して撮像素子2R,2Lにより撮像された
画像の全体の平均輝度を求める平均回路、9R,9Lは所
定の目標輝度と平均回路8R,8Lで求められた平均輝度
を比較し各輝度の差に応じた信号を出力する比較器であ
り、比較回路9Rは一方の入力端子に目標輝度VTを設定
する直流電圧Eが抵抗R5を通して印加されているが比
較回路9Lは一方の入力端子に目標輝度VTを設定する直
流電圧Eが直接印加されている。10R,10Lは比較器
R,9Lの出力信号の値に応じた値の駆動信号を出力す
るドライブ回路、11R,11Lはドライブ回路10R
10L から出力された駆動信号により駆動され、絞り機
構5R,5Lの開口面積を変化させる駆動コイル、12は
本実施例による補正回路であって、右側の比較器9R
目標輝度VTを補正する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the distance measuring apparatus in the present embodiment. In FIG, 2 R, 2 L is conventional apparatus similar to the image pickup device, 3 R, 3 L is a lens that forms an image of an object (not shown) on the image pickup element 2 R, 2 L, 5 R , 5 L imaging A diaphragm mechanism for adjusting the amount of light incident on the elements 2 R and 2 L ; 6 R and 6 L are preamplifiers for amplifying the luminance signals of the imaging elements 2 R and 2 L ;
R, 7 L preamplifier 6 R, 6 L amplifier for amplifying an output signal for controlling the diaphragm of the subsequent, 8 R, 8 L are amplifier 7 R, 7 the imaging element by averaging the output signal of the L 2 R, 2 averaging circuit for obtaining an average brightness of the entire image captured by the L, 9 R, 9 L compares the average luminance determined at a predetermined target luminance and averaging circuit 8 R, 8 L corresponding to the difference between the respective luminance a comparator for outputting a signal, the comparator circuit 9 R goals to one target brightness V T dc voltage E to set is applied through the resistor R 5 has a comparison circuit 9 L to the input terminal one input terminal DC voltage E is applied directly to set the brightness V T. 10 R and 10 L are drive circuits that output drive signals having values according to the values of the output signals of the comparators 9 R and 9 L , and 11 R and 11 L are drive circuits 10 R and 11 L.
A drive coil 12 driven by a drive signal output from 10 L to change the aperture areas of the aperture mechanisms 5 R and 5 L , a correction circuit 12 according to the present embodiment, and a target luminance V of the right comparator 9 R Correct T.

【0017】尚、補正回路12を構成する演算増幅器A
は、マイナス入力端子が抵抗R1を通して右側の平均回
路8Rの出力端子に接続され、プラス入力端子が抵抗R
2を通して左側の平均回路8Lの出力端子に接続される
と共に、マイナス入力端子と出力端子が抵抗R3とコン
デンサCの直列回路で接続されている。そして演算増幅
器Aの出力端子は抵抗R4を通して右側の比較器9Rの
一方の入力端子、即ち目標輝度VTを設定する直流電圧
が印加されている端子に接続されている。
The operational amplifier A constituting the correction circuit 12
It is connected the negative input terminal through a resistor R 1 to the output terminal of the right average circuit 8R, positive input terminal resistor R
Is connected to the output terminal of the left average circuit 8L through 2, a minus input terminal and an output terminal are connected by a series circuit of a resistor R 3 and capacitor C. The output terminal of the operational amplifier A is one of the input terminals of the resistor R 4 through the right side of the comparator 9R, DC voltage that is set to target brightness V T is connected to a terminal which is applied.

【0018】演算増幅器Aの動作としては、例えば平均
回路8Rの出力である右側の平均輝度が平均回路8Lの出
力であるの左側の平均輝度に比較して僅かに低い場合
は、平均輝度の差に応じた信号を出力端子より出力す
る。この信号は抵抗R3、コンデンサCを通してマイナ
ス入力端子にフィードバックされる。この時、コンデン
サCは抵抗R3を通して電荷が充電されるのでコンデン
サ電圧は上昇する。そして、このコンデンサ電圧が抵抗
4を通して比較器9Rの電圧入力用の端子に印加され
て目標輝度VTは上昇する。
[0018] When the operation of the operational amplifier A, for example, the averaging circuit 8 right average luminance which is the output of R is slightly compared to the average luminance of the left is the output of the averaging circuit 8 L low, the average luminance A signal corresponding to the difference is output from the output terminal. This signal is fed back to the minus input terminal through the resistor R 3 and the capacitor C. At this time, the capacitor C is the capacitor voltage because the charge through the resistor R 3 is charged rises. Then, the capacitor voltage is the target brightness V T is applied to the terminal of the voltage input of the comparator 9R through a resistor R 4 increases.

【0019】一方、平均回路8Rの出力である右側の平
均輝度が平均回路8L出力であるの左側の平均輝度に比
較して僅かに高い場合は、演算増幅器Aの出力は平均輝
度の差に応じ下がる。このため、コンデンサCに充電さ
れていた電荷は放電されるため、比較回路9Rの電圧入
力用の端子の電位は下がって目標輝度VTは低下する。
Meanwhile, when the right side of the average luminance which is the output of the averaging circuit 8 R is slightly higher than the average luminance of the left is the average circuit 8 L output, the difference between the output of the operational amplifier A is the average luminance Go down according to. Therefore, since the electric charge charged in the capacitor C is discharged, the potential of the terminal of the voltage input of the comparator circuit 9 R is the target brightness V T drops decreases.

【0020】更に、13R,13Lはプリアンプ6R,6L
の出力信号を増幅するアンプ、4は左右の撮像素子2
R,2L上の視差より、上記(1)式にて対象物までの
距離を算出するコンピュータユニットである。このコン
ピュータユニット4は撮像素子2R,2Lの増幅された輝
度信号を、撮像素子2R、2Lの1セグメント毎に8ビッ
ト長のディジタル値に変換するA/D変換器41R、4
L、A/D変換器41R、41Lで変換された輝度信号
のディジタル値を撮像素子2R,2Lの全セグメントにつ
いて記憶するメモリ42R、42L、メモリ42R,42L
のアドレスを、撮像素子2R,2Lのセグメント位置に対
応させて所定数シフトしながらアドレスの内容を比較す
る相関器43、相関器43の出力より左右の撮像素子2
R,2L上の視差を求める視差検出器44、視差検出器4
4で検出された視差より対象物までの距離を算出する距
離演算器45より構成されている。尚、図1に示す測距
装置においてコンピュータユニット4以外の回路部分を
絞り制御部とする。そして比較器9R,9L、とドライブ
回路10R,10Lは制御手段を構成する。
Further, 13 R and 13 L are preamplifiers 6 R and 6 L
Amplifying the output signal of the left and right imaging devices 2
This is a computer unit that calculates the distance to the target object from the parallax on R and 2L by the above equation (1). The amplified luminance signal of the computer unit 4 is imaging element 2 R, 2 L, the imaging element 2 R, 2 A / D converter 41 converts the digital value of 8-bit length per segment of L R, 4
1 L, the memory 42 stores for all segments of the image pickup element 2 R, 2 L digital value of the converted luminance signal by the A / D converter 41 R, 41 L R, 42 L, the memory 42 R, 42 L
Correlator 43 for comparing the contents of the address while shifting the address by a predetermined number in accordance with the segment position of the image pickup devices 2 R and 2 L.
Disparity detector 44 for determining the disparity of the R, 2 L, disparity detector 4
The distance calculator 45 calculates the distance to the object from the parallax detected in step 4. In the distance measuring device shown in FIG. 1, a circuit portion other than the computer unit 4 is defined as an aperture control unit. The comparators 9 R and 9 L and the drive circuits 10 R and 10 L constitute control means.

【0021】次に、本実施例の動作について説明する。
ここで図1に示した絞り制御部の内、補正回路12以外
の部分の動作は、前記図5に示した従来の絞り制御部分
と同様の動作を行う。補正回路12は比較器9R の目標
輝度VTを補正するものであって、平均回路8L にて得
られた左側の撮像素子2Lの平均輝度を基準として、平
均回路8R にて得られた右側の撮像素子2Rの平均輝度
が、左側の平均輝度と一致する様に比例積分により演算
して補正量を発生する。
Next, the operation of this embodiment will be described.
Here, the operation of the portion other than the correction circuit 12 in the aperture control unit shown in FIG. 1 performs the same operation as that of the conventional aperture control portion shown in FIG. Correction circuit 12 has been made to correct the target brightness V T of the comparator 9 R, based on the average luminance of the obtained left side of the image pickup element 2 L at an average circuit 8 L, obtained at an average circuit 8 R right average brightness of the image pickup element 2 R which are found to generate a correction amount is calculated by proportional integral so as to match the left side of the average luminance.

【0022】今、例えば右側の平均輝度が左側の平均輝
度に比較して、僅か低い場合、補正回路12の出力は、
演算増幅器Aの積分演算の作用により徐々に上昇し、そ
れに応動して比較器9R の目標輝度VTも徐々に上昇す
るので、比較器9R の働きにより絞り機構5Rの開口面
積はドライブ回路10R 及び駆動コイル11R の動作に
より広がる。その結果、右側の撮像素子2Rの平均輝度
は上昇し、やがて左側の撮像素子2Lの平均輝度と一致
する。
Now, for example, if the average luminance on the right side is slightly lower than the average luminance on the left side, the output of the correction circuit 12 is
Gradually increases by the action of the integral calculation of the operational amplifier A, it since the comparator 9 target brightness V T of R also increases gradually in response, the aperture area of the diaphragm mechanism 5 R by the action of the comparator 9 R Drive spread by the operation of the circuit 10 R and the driving coil 11 R. As a result, the average luminance of the right image sensor 2 R rises, eventually it matches the average luminance of the left image sensor 2 L.

【0023】逆に右側の撮像素子2Rの平均輝度が左側
の撮像素子2Lの平均輝度と比較して高い場合には、補
正回路12の出力は徐々に低下し、それに応動して比較
器9Rの目標輝度VTも徐々に低下し、その結果、絞り機
構5Rの開口面積は狭まつて右側の撮像素子2Rの平均輝
度は低下し、やがて左側の撮像素子2Lの平均輝度と一
致する。以上の様にして補正回路12の作用により、左
右の撮像素子2R,2Lの平均輝度が精度よく一致する
様、右側の目標輝度VTが負帰還補正される。
[0023] If conversely the average luminance of the right image sensor 2 R high compared to the average luminance of the left image sensor 2 L, the output of the correction circuit 12 gradually decreases, it responds to comparator 9 target brightness V T of R gradually decreases, as a result, the diaphragm mechanism 5 average brightness of the open area is narrow Matsute right of the image pickup element 2 R of R is reduced, eventually the average luminance of the left image sensor 2 L Matches. By the action of the correction circuit 12 in the manner described above, the average luminance of the left and right of the image pickup element 2 R, 2 L is as to accurately coincide the right target brightness V T is negative feedback correction.

【0024】次に、コンピュータユニット4による測距
動作について説明する。まず、左右の視差(XR+XL
の検出について、その動作原理を図2に従って説明す
る。同図は撮像素子2R,2Lのセグメント位置と、輝度
を左右の像について示したものであって同図では左右撮
像素子2R,2L上の視差がN個のセグメント分生じてい
る場合を表している。この視差の検出は、以下述べる相
関法によって求められる。
Next, the distance measuring operation by the computer unit 4 will be described. First, left and right parallax (X R + X L)
The operation principle of the detection will be described with reference to FIG. The figure shows the segment positions of the image sensors 2 R and 2 L and the brightness for the left and right images. In the figure, the parallax on the left and right image sensors 2 R and 2 L is generated for N segments. Represents the case. The detection of the parallax is obtained by a correlation method described below.

【0025】今、例えば左側の撮像素子2Lを基準とし
右側の撮像素子2Rのセグメントを1セグメント毎シフ
トし、各シフト数に対応して左右の撮像素子2R,2L
輝度の差の絶対値を求めると、このシフト数と、絶対値
との関係は図3の様になる。即ち、視差に相当するセグ
メント数Nシフトした時、左右の撮像素子2R,2Lの輝
度は最も良く一致するので、逆にこの差の絶対値が最も
小さな値を示すシフト数Nより視差が検出できる。撮像
素子2R,2Lのセグメントの幅をHとすると視差はN×
H(XR×XLに相当する)となるので、距離Dは前記
(1)式より求められる。
Now, for example, the segment of the right image sensor 2 R is shifted by one segment with respect to the left image sensor 2 L as a reference, and the difference in luminance between the left and right image sensors 2 R , 2 L corresponding to each shift number. Is obtained, the relationship between the number of shifts and the absolute value is as shown in FIG. That is, when the number N of segments corresponding to the parallax is shifted, the luminances of the left and right imaging elements 2 R and 2 L match best, and conversely, the parallax is smaller than the shift number N whose absolute value of the difference indicates the smallest value. Can be detected. If the width of the segments of the image pickup devices 2 R and 2 L is H, the parallax is N ×
Since the H (corresponding to X R × X L), the distance D is determined from the equation (1).

【0026】以下、上述した測距動作を踏まえてコンピ
ュータユニット4の各部の動作について説明する。アン
プ13R,13Lを通して出力された左右の撮像素子
R,2の輝度信号は、A/D変換器41R,41Lにて
8ビット長のディジタル量に変換された後、メモリ42
R,42Lの各セグメントに対応したアドレスに格納され
る。次に相関器43は前述した視差検出原理に従い、メ
モリ42Rのアドレスをセグメントに対応して1アドレ
ス毎シフトして、メモリ42Lのアドレスの内容との差
の絶対値を求める。次に視差検出器44は、求められた
絶対値が最も小さな値をとる時のセグメンオのシフト数
Nを求め、距離演算器45で上記(1)式に従って対称
物までの距離Dを算出する。
The operation of each part of the computer unit 4 will be described below based on the above-described distance measuring operation. The luminance signals of the left and right image sensors 2 R and 2 output through the amplifiers 13 R and 13 L are converted into 8-bit digital quantities by A / D converters 41 R and 41 L , and then stored in a memory 42.
It is stored in the R, 42 addresses corresponding to each segment of the L. According then disparity detection principle correlator 43 described above, by shifting each address corresponding the address of the memory 42 R into segments, the absolute value of the difference between the contents of the address of the memory 42 L. Next, the parallax detector 44 calculates the segment number shift number N when the calculated absolute value takes the smallest value, and the distance calculator 45 calculates the distance D to the symmetric object according to the above equation (1).

【0027】[0027]

【発明の効果】以上の様に、この発明によれば、測定対
象物を結像する左右一対の撮像素子と、この左右一対の
撮像素子への入射光量を調節する左右一対の絞り機構
と、前記左右一対の撮像素子より得られる輝度信号を予
め設定した目標輝度と一致する様に前記絞り機構の開口
面積を制御する左右一対の制御手段と、前記左右一対の
撮像素子より得られる輝度信号の差を検出し、この輝度
信号の差に応じて左と右の輝度信号が一致する様に、左
右いずれか一方の制御手段で設定された目標輝度を補正
する補正回路12とを備え、左右一対の撮像素子の輝度
の左右差に応じて左右いずれか一方の目標輝度を補正す
る様にしたので、左右一対の撮像素子の輝度が精度よく
一致するとともに、絞り制御が安定に動作するという効
果がある。
As described above, according to the present invention, a pair of left and right image sensors for forming an image of an object to be measured, a pair of left and right aperture mechanisms for adjusting the amount of light incident on the pair of left and right image sensors, A pair of left and right control means for controlling an opening area of the diaphragm mechanism so that a luminance signal obtained from the pair of left and right image sensors coincides with a preset target luminance, and a luminance signal obtained from the pair of right and left image sensors. A correction circuit for detecting a difference and correcting a target brightness set by one of the left and right control means so that the left and right brightness signals match according to the difference between the brightness signals; The left and right target brightness is corrected in accordance with the difference between the left and right of the brightness of the image sensor, so that the brightness of the pair of left and right image sensors accurately matches and the aperture control operates stably. is there.

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

【図1】この発明の一実施例による測距装置の構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of a distance measuring apparatus according to an embodiment of the present invention.

【図2】左右の撮像素子に結像された対象物を示す図で
ある。
FIG. 2 is a diagram illustrating an object imaged on left and right imaging elements.

【図3】左右の撮像素子に結像された対象物の相関を示
す図である。
FIG. 3 is a diagram showing a correlation between objects imaged on left and right imaging elements.

【図4】本実施例における動作原理を示す図である。FIG. 4 is a diagram illustrating an operation principle in the present embodiment.

【図5】従来装置における絞り制御部の構成を示すブロ
ック図である。
FIG. 5 is a block diagram illustrating a configuration of an aperture control unit in a conventional device.

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

1 測定対象物 2R,2L 撮像素子 4 コンピュータユニット 5R,5L 絞り機構 9R,9L 比較器 10R,10L ドライバ 11R,11L 駆動コイル 12 補正回路 45 距離演算器1 the measuring object 2 R, 2 L imaging element 4 computer unit 5 R, 5 L stop mechanism 9 R, 9 L comparator 10 R, 10 L driver 11 R, 11 L drive coil 12 correction circuit 45 distance calculator

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G01C 3/00 - 3/32 G01B 11/00 - 11/30 G02B 7/28 - 7/32 G03B 7/28 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) G01C 3/00-3/32 G01B 11/00-11/30 G02B 7/28-7/32 G03B 7 / 28

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 測定対象物を結像する左右一対の撮像素
子と、この左右一対の撮像素子への入射光量を調節する
左右一対の絞り機構と、前記左右一対の撮像素子より得
られる輝度信号を予め設定した目標輝度と一致する様に
前記絞り機構の開口面積を制御する左右一対の制御手段
と、前記左右一対の撮像素子より得られた輝度信号の差
を検出し、この輝度信号の差に応じて左と右の輝度信号
が一致する様に、左右いずれか一方の制御手段で設定さ
れた目標輝度を補正する補正回路とを備えたことを特徴
とする測距装置。
1. A pair of left and right image sensors for forming an image of an object to be measured, a pair of left and right aperture mechanisms for adjusting the amount of light incident on the pair of left and right image sensors, and a luminance signal obtained from the pair of left and right image sensors. And a pair of left and right control means for controlling the opening area of the aperture mechanism so as to match a preset target luminance, and a difference between luminance signals obtained from the pair of left and right imaging elements is detected. And a correction circuit for correcting a target luminance set by one of the left and right control means so that the left and right luminance signals match in accordance with the following.
JP5268593A 1993-03-12 1993-03-12 Distance measuring device Expired - Fee Related JP3102965B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5268593A JP3102965B2 (en) 1993-03-12 1993-03-12 Distance measuring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5268593A JP3102965B2 (en) 1993-03-12 1993-03-12 Distance measuring device

Publications (2)

Publication Number Publication Date
JPH06265347A JPH06265347A (en) 1994-09-20
JP3102965B2 true JP3102965B2 (en) 2000-10-23

Family

ID=12921747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5268593A Expired - Fee Related JP3102965B2 (en) 1993-03-12 1993-03-12 Distance measuring device

Country Status (1)

Country Link
JP (1) JP3102965B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19717363C2 (en) * 1997-04-24 2001-09-06 Siemens Ag Manufacturing process for a platinum metal structure using a lift-off process and use of the manufacturing process

Also Published As

Publication number Publication date
JPH06265347A (en) 1994-09-20

Similar Documents

Publication Publication Date Title
JPH07280563A (en) Car-to-car distance detector
US20050036775A1 (en) Position detection apparatus, optical apparatus, image-taking system, position detection method and program
JPH0212215A (en) Distance measuring equipment for camera
JPS627523B2 (en)
US5210585A (en) Range finder having a plurality of signal reception means
JP3102965B2 (en) Distance measuring device
US5357310A (en) Correlation phase difference type focus detecting interpolation
JP2648491B2 (en) Distance detection device
JP2003158668A (en) Adjustment device for stereo camera
JPH10311721A (en) Range-finding device
JP2002107145A (en) Range finder and adjuster therefor
US5621174A (en) Vibration detection device
GB2272125A (en) Distance measurement
JPH0743803A (en) Camera-shake preventing device
JP3694018B2 (en) Ranging device
JP2001318304A (en) Focus detecting device
US20040109070A1 (en) Image signal processing system
JP3672987B2 (en) Ranging device
JP3731310B2 (en) camera
JPH08327891A (en) Patterned light projecting device
JP3187621B2 (en) Active triangulation
JP3197284B2 (en) Distance measuring device
JP3269320B2 (en) Optical displacement sensor
JP3731311B2 (en) camera
JP3024194B2 (en) Active multi-point ranging system for camera

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20070825

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080825

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080825

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090825

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090825

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100825

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees