JP2712716B2 - Vehicle distance detection device - Google Patents

Vehicle distance detection device

Info

Publication number
JP2712716B2
JP2712716B2 JP2045265A JP4526590A JP2712716B2 JP 2712716 B2 JP2712716 B2 JP 2712716B2 JP 2045265 A JP2045265 A JP 2045265A JP 4526590 A JP4526590 A JP 4526590A JP 2712716 B2 JP2712716 B2 JP 2712716B2
Authority
JP
Japan
Prior art keywords
light receiving
receiving time
image
amount
time
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
JP2045265A
Other languages
Japanese (ja)
Other versions
JPH03246413A (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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2045265A priority Critical patent/JP2712716B2/en
Publication of JPH03246413A publication Critical patent/JPH03246413A/en
Application granted granted Critical
Publication of JP2712716B2 publication Critical patent/JP2712716B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Measurement Of Optical Distance (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は車両に設けられてその車両と対象物との距離
を検出する車両用距離検出装置に関するものであり、特
に、対象物を含む像の明暗を問わず対象物を良好に撮像
する技術に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle distance detecting device provided in a vehicle to detect a distance between the vehicle and an object, and particularly relates to the brightness of an image including the object. The present invention relates to a technique for satisfactorily capturing an image of a target object regardless of the type.

従来の技術 車両用距離検出装置の一つに次のようなものが既に知
られている。これは、実開昭61−19709号公報に記載さ
れているように、(a)各々が、入射光の強度に応じて
電荷を発生するとともにそれを蓄積する受光素子を複数
備えていて、車両の前車を対象物として含む像をそれぞ
れ撮像する2つの撮像手段と、(b)複数の受光素子に
それぞれ受光時間の間蓄積された電荷量に対応する画素
信号を発生する画素信号発生手段と、(c)それら画素
信号に基づいて、2つの撮像手段がそれぞれ撮像した2
つの画像相互のずれ量を求め、そのずれ量に応じて前記
距離を決定する距離決定手段とを含むように構成されて
いる。
2. Description of the Related Art The following is already known as one of distance detecting devices for vehicles. This is because, as described in Japanese Utility Model Laid-Open Publication No. 61-19709, (a) each includes a plurality of light receiving elements that generate electric charges according to the intensity of incident light and accumulate the electric charges. (B) pixel signal generating means for generating a pixel signal corresponding to the amount of electric charge accumulated in the plurality of light receiving elements during the light receiving time, respectively. , (C) based on the pixel signals, the two
Distance determining means for determining a shift amount between the two images and determining the distance in accordance with the shift amount.

発明が解決しようとする課題 対象物の明るさは常に一定であるとは限らず、むしろ
変化するのが普通である。そのため、場合によっては受
光素子にそれが検出可能な光より明るい光が入射した
り、暗い光が入射することがあり、この場合には対象物
を精度よく撮像することができない。このような事情か
ら、対象物を含む像の明暗を問わず受光素子による撮像
が常に良好に行われるようにするには、各受光素子が受
光時間の間受ける光の量である受光量を適正に制御する
ことが大切である。
Problems to be Solved by the Invention The brightness of an object is not always constant, but usually changes. Therefore, in some cases, light that is brighter than the light that can be detected or light that is darker than the light that can be detected may enter the light receiving element. In this case, the target object cannot be accurately imaged. Under such circumstances, to ensure that the light-receiving elements can always perform good imaging regardless of the brightness of the image including the target object, the light-receiving amount, which is the amount of light received by each light-receiving element during the light-receiving time, is appropriate. It is important to control

受光量の制御として例えば、カメラ等で一般に用いら
れる可変絞りを各撮像手段に設け、かつその可変絞りの
有効径を制御する絞り制御が考えられる。しかし、可変
絞りは普通可動部品を主体として構成されるから、車両
に搭載して使用すると、車体振動等によって正規の作動
が実現されない恐れがある。
As the control of the amount of received light, for example, a diaphragm control that is provided in each imaging unit with a variable diaphragm generally used in a camera or the like and controls the effective diameter of the variable diaphragm can be considered. However, since the variable aperture is usually composed mainly of movable parts, if it is mounted on a vehicle and used, there is a possibility that proper operation may not be realized due to vibration of the vehicle body or the like.

以上の知見に基づいて、本発明は、受光量を制御し
得、かつ車両での使用に好適な車両用距離検出装置を提
供することを課題として為されたものである。
Based on the above findings, the present invention has been made to provide a vehicle distance detecting device capable of controlling the amount of received light and suitable for use in a vehicle.

課題を解決するための手段 そして、本発明の要旨は、前記2つの撮像手段,画素
信号発生装置および距離決定手段を含む車両用距離検出
装置に、前記画素信号に基づいて、前記受光時間の長さ
を前記画像内における輝度の空間的変化量が最大となる
ように調整する受光時間調整手段を設けたことにある。
Means for Solving the Problems The gist of the present invention is to provide a vehicular distance detection device including the two image pickup units, the pixel signal generation device, and the distance determination unit based on the pixel signal to determine the length of the light reception time. There is provided a light receiving time adjusting means for adjusting the brightness so that the spatial change amount of the luminance in the image is maximized.

なお、受光時間調整手段は例えば、画像を各受光素子
に1個ずつ対応した複数の画素に分割した各画素におけ
る輝度の空間微分値の絶対値の和を求め、受光時間を、
その和が最も大きくなる長さに調整するものとすること
ができる。さらに、複数の画素の中から空間微分値の絶
対値が最も大きいものを参照画素として選び出し、受光
時間を、その参照画素の空間微分値の絶対値が最も大き
くなる長さに調整するものとすることもできる。
Note that the light receiving time adjusting means obtains, for example, the sum of absolute values of spatial differential values of luminance at each pixel obtained by dividing an image into a plurality of pixels corresponding to each light receiving element,
The length can be adjusted to the length at which the sum becomes the largest. Further, a pixel having the largest absolute value of the spatial differential value is selected as a reference pixel from among the plurality of pixels, and the light receiving time is adjusted to a length at which the absolute value of the spatial differential value of the reference pixel becomes the maximum. You can also.

また、受光時間調整手段は、(a)画素の全体輝度に
基づいて受光時間の長さを調整すべき方向を決定する調
整方向決定部と、(b)受光時間の長さを、その調整方
向決定部により決定された方向に設定量で暫定的に調整
することを繰り返すとともに、その暫定的な各回の調整
に応じて輝度空間的変化量が前回の輝度空間的変化量か
ら変化する方向に基づいて受光時間の調整量の適正値を
決定する調整量決定部とを含むものとすることもでき
る。
The light receiving time adjusting means includes: (a) an adjusting direction determining unit that determines a direction in which the length of the light receiving time should be adjusted based on the overall luminance of the pixel; The provisional adjustment is repeated in the direction determined by the determination unit with the set amount, and the luminance spatial change amount is changed based on the direction in which the luminance spatial change amount changes from the previous luminance spatial change amount in accordance with the provisional adjustment each time. And an adjustment amount determining unit that determines an appropriate value of the adjustment amount of the light receiving time.

作用および発明の効果 以上のように構成された本発明装置においては、受光
時間調整手段により受光時間が調整されることによって
各受光素子の受光量が制御される。この受光時間調整手
段は簡単な電子回路の追加やコンピュータの制御プログ
ラムの変更等によって実現し得るから、受光量制御のた
めに可動部品を用いることが不可欠ではなくなる。その
ため、本発明に従えば、受光量制御が車体振動等の影響
を受け難くなって、安定した受光量制御が実現され、ひ
いては距離の検出精度が向上するという効果が得られ
る。
Function and Effect of the Invention In the device of the present invention configured as described above, the light receiving time is adjusted by the light receiving time adjusting means, so that the light receiving amount of each light receiving element is controlled. Since the light receiving time adjusting means can be realized by adding a simple electronic circuit or changing a control program of a computer, it is not essential to use a movable part for controlling the light receiving amount. Therefore, according to the present invention, the received light amount control is less likely to be affected by the vibration of the vehicle body and the like, and stable received light amount control is realized, and the effect of improving the distance detection accuracy is obtained.

2つの撮像手段がそれぞれ撮像した2つの画像相互の
ずれ量は例えば次のようにして求められる。各撮像手段
が例えば、複数の受光素子が一列に並んだ受光素子列を
備えたものである場合には、上記2つの画像が受光素子
一つ分だけ順次ずらして重ね合わせられるとともに、各
回のずらしにおいて2つの画像が互に一致しない程度を
表す不一致度が求められ、必要回数のずらしが終了した
ならば、各ずらし量について得られた複数の不一致度の
うち例えば最小のものに対応するずらし量が2つの画像
相互のずれ量とされるのである。したがって、本発明を
実施することにより、受光時間が画像内における輝度の
変化が可及的に大きくなる長さに調整されれば、2つの
画像の単位ずらし量に対する画像の不一致度の変化が十
分大きくなって2つの画像を精度よく照合し得ることと
なり、このことによっても検出精度向上効果が得られ
る。
The amount of shift between the two images captured by the two imaging units is obtained, for example, as follows. In the case where each of the image pickup means includes, for example, a light receiving element array in which a plurality of light receiving elements are arranged in a line, the two images are sequentially shifted by one light receiving element and superimposed, and each shift is performed. Is obtained, the degree of inconsistency indicating the degree to which the two images do not coincide with each other is obtained. When the required number of shifts is completed, for example, the shift amount corresponding to the smallest one of the plurality of inconsistencies obtained for each shift amount Is the difference between the two images. Therefore, by implementing the present invention, if the light receiving time is adjusted to a length that allows the change in luminance in the image to be as large as possible, the change in the degree of mismatch between the images with respect to the unit shift amount of the two images is sufficient. As a result, the two images can be compared with high accuracy, and this also has the effect of improving the detection accuracy.

実施例 以下、本発明の実施例を図面に基づいて詳細に説明す
る。
Examples Hereinafter, examples of the present invention will be described in detail with reference to the drawings.

本発明の実施例である車間距離検出装置は第2図に示
す本体部10と第3図に示す信号処理部12とを備えてい
る。本体部10は自車の前端中央部に取り付けられる。本
体部10には基準平面が想定されていて、その基準平面が
自車の水平面と平行となるように取り付けられるのであ
る。
An inter-vehicle distance detecting apparatus according to an embodiment of the present invention includes a main unit 10 shown in FIG. 2 and a signal processing unit 12 shown in FIG. The main body 10 is attached to the center of the front end of the vehicle. A reference plane is assumed for the main body 10, and is attached so that the reference plane is parallel to the horizontal plane of the vehicle.

本体部10には一対のミラー14,16と、プリズム18と、
一対のレンズ20,22と、一対の絞り24,26と、第1CCDライ
ンセンサ30,第2CCDラインセンサ32(以下、単にセンサ3
0,32という)とが上記基準平面に沿って、かつ自車の前
後方向に延びる基準軸に関して対称となる状態で配設さ
れている。プリズム18はそれの頂角を挟む2面がそれぞ
れは反射面36,38とされていて、それら反射面36,38が共
に基準平面に沿って、かつ基準軸に関して対称となる状
態で配設されている。また、互に対向するミラー14,16
の各反射面とプリズム18の各反射面36,38とはそれぞれ
互に平行とされている。
A pair of mirrors 14, 16 and a prism 18,
A pair of lenses 20 and 22, a pair of diaphragms 24 and 26, a first CCD line sensor 30, a second CCD line sensor 32 (hereinafter simply referred to as a sensor 3).
0, 32) along the reference plane and symmetrically with respect to a reference axis extending in the front-rear direction of the vehicle. The prism 18 has two reflecting surfaces 36 and 38 each sandwiching the apex angle thereof, and the reflecting surfaces 36 and 38 are disposed along the reference plane and symmetrically with respect to the reference axis. ing. In addition, mirrors 14 and 16 facing each other
And the respective reflecting surfaces 36 and 38 of the prism 18 are parallel to each other.

各センサ30,32はnMAX個の受光素子40が一列に並んだ
受光素子列42を備えており、それら受光素子列42は上記
基準軸に直角でありかつ自車の左右方向に平行な一平面
に沿って配置されている。各受光素子40は、それに入射
した光が明るい程多量の電荷を発生するとともにそれを
蓄積するものである。複数の受光素子40にはそれぞれセ
ンサ30,32毎に1〜nMAXまでの素子番号nが付されてい
る。
Each of the sensors 30 and 32 includes a light receiving element array 42 in which n MAX light receiving elements 40 are arranged in a line. The light receiving element arrays 42 are perpendicular to the reference axis and parallel to the left and right direction of the vehicle. They are arranged along a plane. Each light receiving element 40 generates a larger amount of electric charge and accumulates it as the light incident thereon becomes brighter. The plurality of light receiving elements 40 are assigned element numbers n of 1 to n MAX for the sensors 30 and 32, respectively.

以上のように構成された本体部10においては、自車の
前車からそれぞれ本体部10に向かう光は、ミラー14,プ
リズム18の反射面36,レンズ20および絞り24を順に経て
センサ30に入射するとともに、ミラー16,プリズム18の
反射面38,レンズ22および絞り26を順に経てセンサ32に
入射する。各センサ30,32は前車の像を、各センサ30,32
に属するnMAX個の受光素子40に対応する撮像領域、すな
わち、帯状を成して水平方向に延びる撮像領域で撮像す
る。
In the main body 10 configured as described above, light traveling toward the main body 10 from the vehicle in front of the host vehicle enters the sensor 30 through the mirror 14, the reflecting surface 36 of the prism 18, the lens 20, and the aperture 24 in that order. At the same time, the light enters the sensor 32 through the mirror 16, the reflecting surface 38 of the prism 18, the lens 22, and the stop 26 in that order. Each of the sensors 30, 32 represents an image of the preceding vehicle, and each of the sensors 30, 32
The imaging is performed in an imaging region corresponding to the n MAX light receiving elements 40 belonging to, that is, an imaging region extending in the horizontal direction in a band shape.

以上の説明から明らかなように、ミラー14,プリズム1
8の反射面36,レンズ20,絞り24およびセンサ30の受光素
子列42が第1撮像手段50を構成し、ミラー16,プリズム1
8の反射面38,レンズ22,絞り26およびセンサ32の受光素
子列42が第2撮像手段52を構成している。
As is clear from the above description, the mirror 14, the prism 1
The eight reflecting surfaces 36, the lens 20, the aperture 24, and the light receiving element array 42 of the sensor 30 constitute the first imaging means 50, and include the mirror 16, the prism 1
The eight reflecting surfaces 38, the lens 22, the stop 26, and the light receiving element array 42 of the sensor 32 constitute a second imaging means 52.

センサ30はさらに、第3図に示すように、スイッチン
グ素子62が受光素子40の数nMAXと同数集合したスイッチ
ング素子列64と、キャパシタ66で受光素子40の数nMAX
同数集合したCCDシフトレジスタ(以下、単にレジスタ
という)68とを備えている。スイッチング素子列64は、
それに1つの転送パルスが入力されれば、複数のスイッ
チング素子62を一斉にOFF状態からON状態に切り換え
て、nMAX個の受光素子40にそれぞれ蓄積された電荷を一
斉に、各々が対応するキャパシタ66に転送するものであ
る。また、レジスタ68は、それに1つのシフトパルスが
入力されれば、各キャパシタ66に蓄積された電荷を直ぐ
隣のキャパシタ66(図において真下のキャパシタ66)へ
シフトさせるものである。シフトパルスの入力は、転送
パルスの入力毎に受光素子40の数nMAXと同数回行われる
ようになっていて、nMAX個のキャパシタ66にそれぞれ蓄
積された電荷が最も下流側(図において最も下側)のも
のから最も上流側(図において最も上側)のものに向か
って順次外部へ取り出される。なお、図示はしないが、
センサ32もスイッチング素子列64とレジスタ68とを備え
ている。
Sensor 30 further includes, as shown in FIG. 3, the switching element array 64 of the switching element 62 is set equal to the number n MAX of the light receiving element 40, CCD shift, equal set and the number n MAX of the light receiving element 40 with a capacitor 66 And a register (hereinafter, simply referred to as a register) 68. The switching element row 64
When one transfer pulse is input thereto, the plurality of switching elements 62 are simultaneously switched from the OFF state to the ON state, and the electric charges respectively accumulated in the n MAX light receiving elements 40 are simultaneously transmitted to the corresponding capacitors. Forward to 66. When one shift pulse is input to the register 68, the charge stored in each capacitor 66 is shifted to the immediately adjacent capacitor 66 (the capacitor 66 immediately below in the figure). The input of the shift pulse is performed the same number of times as the number n MAX of the light receiving elements 40 each time the transfer pulse is input, and the charges accumulated in the n MAX capacitors 66 are the most downstream (most in the figure). It is sequentially taken out from the lower one) to the most upstream one (the uppermost one in the figure). Although not shown,
The sensor 32 also includes a switching element array 64 and a register 68.

前記信号処理部12は同図に示すようにコンピュータ70
を備えている。コンピュータ70は図示しないCPU,ROM,RA
M,バス,入力インタフェースおよび出力インタフェース
を含んでいる。入力インタフェースは同図に示すよう
に、各A/D変換器72を経て各センサ30,32のレジスタ68の
アナログ信号出力端子と接続されている。一方、出力イ
ンタフェースは各シフトパルス発生器74を経て各レジス
タ68のシフトパルス入力端子、各転送パルス発生器76を
経て各スイッチング素子列64の転送パルス入力端子、ド
ライバ86を経て警告器88とそれぞれ接続されている。警
告器88は自車と前車との現車間距離が自車の現車速との
関係において不足している場合に作動して、その事実を
運転者に知らせるものである。
The signal processing unit 12 includes a computer 70 as shown in FIG.
It has. The computer 70 is a CPU, ROM, RA (not shown)
Includes M, bus, input interface and output interface. As shown in the figure, the input interface is connected to the analog signal output terminal of the register 68 of each sensor 30, 32 via each A / D converter 72. On the other hand, the output interface is connected to a shift pulse input terminal of each register 68 via each shift pulse generator 74, a transfer pulse input terminal of each switching element array 64 via each transfer pulse generator 76, and a warning device 88 via a driver 86. It is connected. The warning device 88 is activated when the current distance between the own vehicle and the preceding vehicle is insufficient in relation to the current vehicle speed of the own vehicle, and notifies the driver of the fact.

上記コンピュータ70のROMには第4図〜第7図にそれ
ぞれフローチャートで表す転送パルス供給ルーチン,画
像データ取込みルーチン,車間距離検出ルーチンおよび
受光時間補正ルーチンを始め、各種制御プログラムが記
憶されている。また、RAMには第3図に示すように、セ
ンサ30によって撮像された第1画像を表す第1画像デー
タを記憶するための第1画像メモリと、センサ32によっ
て撮像された第2画像を表す第2画像データを記憶する
ための第2画像メモリと、後述の今回受光時間および次
回受光時間をそれぞれ記憶するための今回受光時間メモ
リおよび次回受光時間メモリとが設けられている。
The ROM of the computer 70 stores various control programs, including a transfer pulse supply routine, an image data capture routine, an inter-vehicle distance detection routine, and a light reception time correction routine, which are respectively represented by flowcharts in FIGS. 4 to 7. Also, as shown in FIG. 3, a first image memory for storing first image data representing a first image captured by the sensor 30 and a second image captured by the sensor 32 are stored in the RAM. A second image memory for storing the second image data, and a current light receiving time memory and a next light receiving time memory for respectively storing a current light receiving time and a next light receiving time, which will be described later, are provided.

次に作動を説明する。まず、第8図に基づいて概略的
に説明する。
Next, the operation will be described. First, a schematic description will be given based on FIG.

各受光素子列42に属するnMAX個の受光素子40にそれぞ
れ蓄積された電荷は、転送パルスが消滅させられる毎
に、すなわち転送パルスが立ち下がる毎に一斉にスイッ
チング素子列64を経てレジスタ68に転送される。また、
ある転送パルスが消滅してから次の転送パルスが消滅す
るまでの間に、受光素子40の数nMAXと同数のシフトパル
スが各センサ30,32のレジスタ68にそれぞれ、所定の時
間間隔で供給され、それに伴って、nMAX個の受光素子40
にそれぞれ蓄積された電荷を表すアナログ信号がレジス
タ68から一つずつ順に取り出される。アナログ信号はA/
D変換器72によってデジタル信号に変換されるととも
に、そのデジタル信号がRAMの第1,第2画像メモリに第
1,第2画像データとして記憶される。シフトパルスが受
光素子40の数nMAXと同数発生させられたならば、第1,第
2画像メモリにはそれぞれセンサ30,32に係るnMAX個の
第1,第2画像データが記憶されるのであり、それら第1,
第2画素データの集合がそれぞれ第1,第2画像データで
ある。
The electric charges respectively accumulated in the n MAX light receiving elements 40 belonging to each light receiving element row 42 are simultaneously transferred to the register 68 via the switching element row 64 every time the transfer pulse is extinguished, that is, every time the transfer pulse falls. Will be transferred. Also,
Between the disappearance of one transfer pulse and the disappearance of the next transfer pulse, the same number of shift pulses as the number n MAX of the light receiving elements 40 are supplied to the registers 68 of the sensors 30 and 32 at predetermined time intervals. Accordingly, n MAX light receiving elements 40
The analog signals representing the electric charges respectively stored in the register 68 are sequentially taken out from the register 68 one by one. Analog signal is A /
The digital signal is converted into a digital signal by the D converter 72, and the digital signal is stored in the first and second image memories of the RAM.
1, stored as second image data. If the same number of shift pulses as the number n MAX of the light receiving elements 40 are generated, n MAX first and second image data relating to the sensors 30 and 32 are stored in the first and second image memories, respectively. And their first
A set of second pixel data is first and second image data, respectively.

転送パルスは受光時間TRが経過する毎に発生させられ
るようになっているから、各受光素子40にはそれに受光
時間TRの間入射した光の量に対応する電荷が蓄積され
る。この受光時間TRは上限値と下限値との間で変更可能
とされ、かつ前車を含む像の明暗を問わずその像の撮像
が良好に行われる長さに調整されるようになっている。
Since transfer pulse is adapted to be generated each time elapses receiving time T R is, in each light receiving element 40 a charge corresponding to the amount of light incident between the light receiving time it T R is accumulated. The photodetection time T R is changeable between the upper and lower limit values, and so that the imaging of the image regardless of the brightness of the image containing the vehicle in front is adjusted to a length that performed well I have.

受光時間TRの調整手法を概略的に説明する。The method of adjusting the light receiving time T R will be described in brief.

まず、センサ30に属する各受光素子40が出力した電圧
の和が第1画像の全体輝度として求められる。その後、
その全体輝度と予め定められている適正範囲とが互に比
較される。適正範囲は例えば、センサ30に属するすべて
の受光素子40が撮像を最も良好に行い得る状態で各受光
素子40が出力する適正電圧の和を含んでそれに十分近い
範囲に定められる。今回の第1画像が例えば第9図に示
すように全体輝度が適正範囲にあるものである場合に
は、第1画像の明るさがちょうどよいと判定されて受光
時間TRが変更されないが、例えば第10図に示すように、
全体輝度が適正範囲の下限値より低いものである場合に
は第1画像が暗過ぎると判定されて、今回の受光時間TR
に正の補正量ΔTRが加算されることによって次回の受光
時間TRが演算され、また、例えば第11図に示すように、
全体輝度が適正範囲の上限値より高いものである場合に
は第1画像が明る過ぎると判定されて、今回の受光時間
TRに負の補正量ΔTRが加算されることによって、すなわ
ち、今回の受光時間TRから正の補正量ΔTRが差し引かれ
ることによって次回の受光時間TRが演算される。なお、
第9図〜第11図の各例においては、受光素子40の最大電
圧が5V、適正電圧が2.5Vである。
First, the sum of the voltages output by the light receiving elements 40 belonging to the sensor 30 is obtained as the overall luminance of the first image. afterwards,
The overall brightness is compared with a predetermined appropriate range. For example, the appropriate range is set to a range sufficiently close to and including the sum of the appropriate voltages output by the respective light receiving elements 40 in a state where all the light receiving elements 40 belonging to the sensor 30 can perform the best imaging. The time of the first image for example, when the entire luminance as shown in FIG. 9 is intended to be proper range, but the brightness is determined just as good light receiving time T R of the first image is not changed, For example, as shown in FIG.
If the overall luminance is lower than the lower limit of the appropriate range, it is determined that the first image is too dark, and the current light receiving time T R
The next light receiving time T R is calculated by adding the positive correction amount ΔT R to, and, for example, as shown in FIG.
If the overall luminance is higher than the upper limit of the appropriate range, it is determined that the first image is too bright, and the current light receiving time
By negative correction amount [Delta] T R is added to T R, i.e., the next light receiving time T R by the current receiving time T R is positive correction amount [Delta] T R is subtracted is calculated. In addition,
9 to 11, the maximum voltage of the light receiving element 40 is 5V and the appropriate voltage is 2.5V.

なお、受光時間TRの上限値は例えば、夜間に前車の像
が自車のヘッドライト光のみによって形成される場合で
も受光素子40が前車を良好に撮像し得る大きさに決定さ
れ、一方、下限値は例えば、各センサ30,32に属する複
数の受光素子40のアナログ信号すべてをA/D変換器72に
よってデジタル信号に変換するのに必要な時間より長く
決定される。
The upper limit value of the light receiving time T R is, for example, the light receiving element 40 even if the nighttime preceding vehicle image is formed only by the headlight of the vehicle is determined to a size capable of satisfactorily capturing the preceding vehicle, On the other hand, the lower limit value is determined to be longer than the time required for converting all analog signals of the plurality of light receiving elements 40 belonging to the sensors 30 and 32 into digital signals by the A / D converter 72, for example.

以下、本実施例の作動を第4図〜第7図に基づいて詳
細に説明する。
Hereinafter, the operation of this embodiment will be described in detail with reference to FIGS.

コンピュータ70の電源が投入されれば、まず、今回受
光時間メモリに予め定められている初回受光時間を記憶
させ、次回受光時間メモリにもその初回受光時間を記憶
させるとともに、経過時間tの値を0にする初期設定が
行われる。なお、初回受光時間は例えば、前車を含む像
の明るさが統計上の平均値であると想定した場合に撮像
を良好に行い得る長さとされる。その後、第4図〜第7
図の各ルーチンが実行される。
When the power of the computer 70 is turned on, first, a predetermined initial light receiving time is stored in a current light receiving time memory, the initial light receiving time is also stored in a next light receiving time memory, and the value of the elapsed time t is stored. Initial setting to zero is performed. Note that the first light receiving time is, for example, a length that allows good imaging when the brightness of an image including the preceding vehicle is assumed to be a statistical average value. Thereafter, FIGS. 4 to 7
Each routine in the figure is executed.

第4図の転送パルス供給ルーチンは一定時間毎に実行
される。本ルーチンの各回の実行時にはまず、ステップ
S1(以下、単にS1で表す。他のステップについても同
じ)において、経過時間tの現在値に増分Δt(本ルー
チンの実行周期と等しい)が加算され、S2において、今
回受光時間メモリから今回受光時間TRが読み出されると
ともに、経過時間tの現在値がその今回受光時間TR以上
であるか否かが判定される。そうでなければ判定の結果
がNOとなり、本ルーチンの一回の実行が終了する。その
後、本ルーチンの実行が何回も繰り返された結果、経過
時間tの現在値が今回受光時間TRに達したならば、S2の
判定結果がYESとなり、S3において、前記各転送パルス
発生器76に、それぞれが転送パルスを各センサ30,32の
スイッチング素子列64に供給する転送パルス供給信号が
出される。その後、S4において、RAMの次回受光時間メ
モリから次回受光時間TRが読み出されてそれが今回受光
時間メモリに新たな今回受光時間TRとして記憶され、S5
において経過時間tの値が0に復元される。
The transfer pulse supply routine of FIG. 4 is executed at regular intervals. When executing this routine each time, first
At S1 (hereinafter simply referred to as S1; the same applies to other steps), an increment Δt (equal to the execution cycle of this routine) is added to the current value of the elapsed time t. over time T R is read, the current value of the elapsed time t is whether or not the current receiving time T R or not is determined. Otherwise, the result of the determination is NO, and one execution of this routine ends. Then, a result of execution of the present routine is repeated many times, if the current value of the elapsed time t reaches the current receiving time T R, S2 of the determination result is YES, at S3, each transfer pulse generator At 76, a transfer pulse supply signal is supplied which supplies a transfer pulse to the switching element array 64 of each of the sensors 30, 32. Thereafter, in S4, is stored as the next receiving time the next receiving time from the memory T R is read it new current receiving time to the current receiving time memory T R of RAM, S5
The value of the elapsed time t is restored to 0 at.

第5図の画像データ取込みルーチンも一定時間毎に実
行される。まず、S11において転送パルスの消滅時であ
るか否かが判定され、そうでなければ判定の結果がNOと
なって、本ルーチンの一回の実行が終了する。これに対
して、転送パルスの消滅時である場合には、S11の判定
結果がYESとなり、S12において、各センサ30,32に属す
る受光素子40の素子番号nの値が1に設定される。その
後、S13において、各シフトパルス発生器74に、それぞ
れがシフトパルスを各センサ30,32のレジスタ68に供給
するシフトパルス供給信号が出され、S14において、各A
/D変換器72に、それぞれが各レジスタ68から取り出され
たアナログ信号をデジタル信号に変換するA/D変換信号
が出される。続いて、S15において、各A/D変換器72から
のデジタル信号がそれぞれ第1,第2画像メモリに第1,第
2画像データとして記憶され、S16において素子番号n
の値が1だけ増加させられる。その後、S17において、
素子番号nの値が受光素子40の数nMAXより大きいか否か
が判定される。そうであれば判定の結果がNOとなってS1
3に戻るが、そうでなければ判定の結果がYESとなって、
本ルーチンの一回の実行が終了する。
The image data fetching routine of FIG. 5 is also executed at regular intervals. First, it is determined in S11 whether or not the transfer pulse has disappeared. If not, the result of the determination is NO, and one cycle of this routine ends. On the other hand, when the transfer pulse has disappeared, the determination result in S11 is YES, and in S12, the value of the element number n of the light receiving element 40 belonging to each of the sensors 30, 32 is set to 1. Thereafter, in S13, each shift pulse generator 74 outputs a shift pulse supply signal for supplying a shift pulse to the register 68 of each sensor 30, 32.
An A / D conversion signal for converting an analog signal extracted from each register 68 into a digital signal is output to the / D converter 72. Subsequently, in S15, the digital signal from each A / D converter 72 is stored in the first and second image memories as the first and second image data, respectively.
Is increased by one. Then, in S17,
It is determined whether the value of the element number n is greater than the number n MAX of the light receiving elements 40. If so, the result of the determination is NO and S1
Return to 3, but if not, the result of the determination is YES,
One execution of this routine ends.

第6図の車間距離検出ルーチンも一定時間毎に実行さ
れる。まず、S20においてA/D変換中でなくなるのが待た
れ、A/D変換中でなくなれば、S21において第1,第2画像
メモリから第1,第2画像データが読み出され、続いて、
S22において、それら第1,第2画像データからセンサ30,
32がそれぞれ撮像した2つの画像相互のずれ量が求めら
れる。その後、S23において、そのずれ量に対応する現
車間距離が図示しないずれ量と車間距離との対応関係に
従って求められ、S24において、現車間距離が自車の現
車速に対応する安全車間距離より短いか否かが判定され
る。そうであれば判定の結果がYESとなり、S25において
前記警告器88を介して運転者にその事実が知らされ、そ
うでなければ判定の結果がNOとなり、S26において警告
器88が停止させられる。以上で本ルーチンの一回の実行
が終了する。
The inter-vehicle distance detection routine of FIG. 6 is also executed at regular intervals. First, it is waited that the A / D conversion is not being performed in S20. If the A / D conversion is not being performed, the first and second image data are read from the first and second image memories in S21.
In S22, from the first and second image data, the sensor 30,
The shift amount between the two images captured by the respective 32 is obtained. Then, in S23, the current inter-vehicle distance corresponding to the deviation amount is obtained according to the correspondence relationship between the deviation amount and the inter-vehicle distance (not shown) .In S24, the current inter-vehicle distance is calculated from the safe inter-vehicle distance corresponding to the current vehicle speed of the own vehicle. It is determined whether it is short. If so, the result of the determination is YES, the fact is notified to the driver via the warning device 88 in S25, otherwise the result of the determination is NO, and the warning device 88 is stopped in S26. This completes one execution of this routine.

第7図の受光時間補正ルーチンは例えば1分が経過す
る毎に実行される。第6図の車間距離検出ルーチンの場
合ほど頻繁に実行されることがないようにされているの
である。本ルーチンの各回の実行時にはまず、S100にお
いてA/D変換中でなくなるのが待たれ、A/D変換中でなく
なれば、S101において第1画像メモリから第1画像デー
タが読み出され、その後、S102において、その第1画像
データに属する各画素データにより表される電圧の和が
全体輝度として演算される。続いて、S103において、そ
の全体輝度と前記適正範囲とが互に比較される。今回は
全体輝度が適正範囲にあると仮定すれば、受光時間TR
補正することなく本ルーチンの一回の実行が終了する。
The light receiving time correction routine of FIG. 7 is executed, for example, every one minute. The routine is not executed as frequently as in the inter-vehicle distance detection routine of FIG. At the time of each execution of this routine, first, it is waited that the A / D conversion is not being performed in S100. If the A / D conversion is not being performed, the first image data is read from the first image memory in S101. In S102, the sum of the voltages represented by the pixel data belonging to the first image data is calculated as the overall luminance. Subsequently, in S103, the overall luminance and the appropriate range are compared with each other. Assuming that this time the entire brightness is in the proper range, one cycle of execution of the present routine is terminated without correcting the light receiving time T R.

これに対して、全体輝度が適正範囲の上限値より高い
場合には、S104において補正量ΔTRの符号が負とされた
後、S105において、第1画像を構成する複数の画素の各
々について輝度微分値が演算される。各画素の輝度微分
値は、その画素とそれに隣接した1つの画素との各々に
おける輝度の差である。その後、S106において、それら
輝度微分値の絶対値の和(以下、単に輝度微分値の和と
いう。図においても同じ)が演算される。続いて、S107
において、次回受光時間メモリから次回受光時間TRが読
み出されて、その次回受光時間TRに正または負の補正量
ΔTRが加算されることによって新たな次回受光時間TR
演算されるとともに、その次回受光時間TRが次回受光時
間メモリに記憶される。
On the contrary, when the entire luminance is higher than the upper limit of the proper range, then the sign of the correction amount [Delta] T R is negative in S104, in S105, the luminance for each of a plurality of pixels constituting the first image A differential value is calculated. The luminance differential value of each pixel is a difference in luminance between the pixel and one pixel adjacent thereto. Thereafter, in S106, the sum of the absolute values of the luminance differential values (hereinafter, simply referred to as the sum of the luminance differential values, the same applies in the drawing) is calculated. Then, S107
In, is read out next receiving time T R the next time the light receiving time memory, receiving time T R is calculated new next by a positive or negative correction amount [Delta] T R is added to the next receiving time T R together, the next receiving time T R is stored in the next receiving time memory.

例えば、コンピュータ70が第1回目に読み出した第1
画像データにより表される第1画像が第11図に示すもの
であるとすれば、その第1画像が明る過ぎると判定され
るから、第1図に示すように、次回受光時間TRが今回受
光時間TRより正の補正量ΔTRだけ短くされる。受光時間
TRの初期値に補正が1回加えられるのである。なお、そ
の補正による効果は同図に示すように、コンピュータ70
が第2回目に読み出す第1画像データにより表される第
1画像には現れず、第3回目に読み出す第1画像データ
により表される第1画像に現れることになる。
For example, the first time the computer 70 reads the first time
If the first image represented by the image data is as shown in FIG. 11, since the first image is determined to be too bright, as shown in FIG. 1, the next light receiving time T R is time It is shorter than the receiving time T R by a positive correction amount [Delta] T R. Light receiving time
Correction to the initial value of T R is the added once. The effect of the correction is as shown in FIG.
Does not appear in the first image represented by the first image data read out the second time, but appears in the first image represented by the first image data read out the third time.

その後、S108において次回のA/D変換が終了するのが
待たれる。終了したならば、S109において、第1画像メ
モリから前回より1回だけ新しい第1画像が読み出され
るとともに、その第1画像について輝度微分値の和が演
算され、S110において、その輝度微分値の和が前回の値
以下であるか否かが判定される。そうでなければ、判定
の結果がNOとなってS107に戻る。
After that, it is waited in S108 that the next A / D conversion ends. When the processing is completed, in S109, a new first image is read from the first image memory only once from the previous time, and the sum of the luminance differential values is calculated for the first image. In S110, the sum of the luminance differential values is calculated. Is determined to be less than or equal to the previous value. Otherwise, the result of the determination is NO and the process returns to S107.

例えば、コンピュータ70が第2回目に読み出した第1
画像データにより表される第1画像が第11図に示すもの
であって、第3回目に読み出した第1画像データにより
表される第1画像が第12図に示すものである場合には、
先の第1画像の1次微分画像は第13図に示すものとな
り、後の第1画像の1次微分画像は第14図に示すものと
なる。第13図と第14図とにおいてそれぞれ丸印で囲んだ
画素を互に比較すると、先の第1画像における方が後の
第1画像におけるより輝度微分値が大きくなっている。
輝度微分値の和も同様であると仮定すれば、S110の判定
結果がNOとなり、判定時間TRがさらに正の補正量ΔTR
け短くされる。
For example, the first time the computer 70 reads the second time
If the first image represented by the image data is shown in FIG. 11 and the first image represented by the first image data read out for the third time is shown in FIG. 12,
The primary differential image of the preceding first image is as shown in FIG. 13, and the primary differential image of the subsequent first image is as shown in FIG. Comparing the pixels circled in FIGS. 13 and 14 with each other, the luminance differential value is larger in the first image than in the first image.
Assuming that the same sum of differential luminance values, the determination result of S110 is NO, and the determination time T R is further only positive correction amount [Delta] T R shorter.

受光時間TRの増加または減少が繰り返されれば、輝度
微分値の和が前回と今回とでほとんど変化しないか、ま
たは今回が前回より小さくなるに至る。受光時間TRが短
くなり過ぎた状態では、受光時間TRを短くするにつれ
て、第1画像のうち例えば最も暗い部分が受光素子40に
よって検出されなくなって受光素子40の電圧が最小電圧
(例えば0V)に保たれるのに対し、それ以外の部分にお
ける受光素子40の電圧が低下するため、輝度微分値の和
が増加から維持または減少に転ずることになるのであ
る。また、受光時間TRが長くなり過ぎた状態では、受光
時間TRを長くするにつれて、第1画像のうち例えば最も
明るい部分が受光素子40によって検出されなくなって受
光素子40の電圧が最大電圧(例えば5V)に保たれるのに
対し、それ以外の部分における受光素子40の電圧が上昇
するため、輝度微分値の和が増加から維持または減少に
転ずることになるのである。したがって、S107〜S110の
実行が繰り返されるうちに、S110の判定結果がYESにな
れば、次回受光時間メモリに、それに現在記憶されてい
る次回受光時間TRより2回前に記憶されていた次回受光
時間TRが望ましい長さに決定される。続いて、S111にお
いて、次回受光時間メモリから次回受光時間TRが読み出
されて、その次回受光時間TRから正または負の補正量Δ
TRの2倍を差し引いた値が次回受光時間メモリに記憶さ
れる。以上で本ルーチンの一回の実行が終了する。
If repeated increase or decrease of the light receiving time T R, or the sum of the differential luminance values hardly changed between the previous and current, or leads to this is smaller than the previous. In a state where the receiving time T R becomes too short, the light receiving over time T R to shorten, among e.g. darkest portion detected not become the voltage of the light receiving element 40 is the minimum voltage by the light receiving element 40 of the first image (e.g., 0V ), The voltage of the light receiving element 40 in the other portions decreases, so that the sum of the luminance differential values changes from increasing to maintaining or decreasing. In a state where the light receiving time T R is too long, as a longer receiving time T R, for example, the brightest part voltage of the light receiving element 40 is not detected by the light receiving element 40 of the first image is the maximum voltage ( For example, while the voltage is maintained at 5 V), the voltage of the light receiving element 40 in the other portion increases, so that the sum of the luminance differential values changes from increasing to maintaining or decreasing. Thus, while the execution of S107~S110 is repeated, if the YES determination result of S110, the next receiving time memory, it next time that has been stored before twice than the next receiving time T R which is currently stored receiving time T R is determined to a desired length. Subsequently, in S111, is read out next receiving time T R the next time the light receiving time memory, a positive or negative correction amount from the next receiving time T R delta
Minus twice the T R is stored in the next receiving time memory. This completes one execution of this routine.

例えば、第1図に示すように、コンピュータ70が第6
回目に読み出した第1画像データにより表される第1画
像の輝度微分値の和が前回よりも減少した場合には、コ
ンピュータ70が5回目に読み出した第1画像データによ
り表される第1画像の輝度微分値の和が適正であると推
定されるから、その第1画像を得るために用いた受光時
間TR、すなわち、受光時間TRの初期値に補正を3回加え
たものが受光時間TRの適正値となる。このような事情か
ら、コンピュータ70が6回目に読み出した次回受光時間
TR、すなわち、受光時間TRの初期値に補正を5回加えた
ものから補正2回分を無効にすべく、今回読み出された
受光時間TRが正の補正量ΔTRの2倍だけ長くされるので
ある。
For example, as shown in FIG.
When the sum of the luminance differential values of the first image represented by the first image data read out at the time is smaller than the previous time, the first image represented by the first image data read out by the computer 70 at the fifth time since the sum of the differential luminance value is estimated to be proper, the first light receiving time T R of the image used to obtain, i.e., light reception plus 3 times the correction to the initial value of the light receiving time T R the appropriate value of the time T R. Under such circumstances, the next light receiving time read by the computer 70 for the sixth time
T R, i.e., in order to disable the double dose correction from plus 5 times the correction to the initial value of the light receiving time T R, the current read received time T R is only twice the positive correction amount [Delta] T R It will be lengthened.

以上の説明から明らかなように、本実施例において
は、コンピュータ70の、第4図および第5図の各ルーチ
ンを実行する部分と、スイッチング素子列64と、レジス
タ68と、シフトパルス発生器74と、転送パルス発生器76
とが画素信号発生手段を構成し、コンピュータ70の、第
7図のルーチンを実行する部分が受光時間調整手段を構
成している。また、コンピュータ70の、同図のS100〜S1
04,S107およびS112が調整方向決定部を構成し、S105,S1
06およびS108〜S111が調整量決定部を構成している。
As is apparent from the above description, in the present embodiment, a portion of the computer 70 for executing the routines of FIGS. 4 and 5, a switching element array 64, a register 68, and a shift pulse generator 74 And the transfer pulse generator 76
These constitute the pixel signal generating means, and the part of the computer 70 executing the routine of FIG. 7 constitutes the light receiving time adjusting means. In addition, S100 to S1 in FIG.
04, S107 and S112 constitute an adjustment direction determining unit, and S105 and S1
06 and S108 to S111 constitute an adjustment amount determining unit.

なお、上記実施例は自車と前車との車間距離が安全走
行上不足していればその事実を運転者に警告するために
用いられる車間距離検出装置の一例であったが、車間距
離検出装置はその他の目的に用いることが可能である。
例えば、自車と前車との車間距離に基づいて、自車に前
車に追従した追従走行を行わせる追従走行制御装置に用
いることも可能である。
The above-described embodiment is an example of the inter-vehicle distance detection device used to warn the driver of the fact that the inter-vehicle distance between the own vehicle and the preceding vehicle is insufficient for safe driving. The device can be used for other purposes.
For example, it is also possible to use the present invention in a following travel control device that causes the own vehicle to follow the preceding vehicle based on the inter-vehicle distance between the subject vehicle and the preceding vehicle.

また、前記実施例においては、転送パルスおよびシフ
トパルスの供給がコンピュータ70によって制御されるよ
うになっていたが、クロック等の電子回路によって制御
するようにしてもよい。それらパルスの供給制御をコン
ピュータ70の実行内容から省くことは車間距離の検出を
より高速に行い得るようにするために有効なのである。
Further, in the above-described embodiment, the supply of the transfer pulse and the shift pulse is controlled by the computer 70, but may be controlled by an electronic circuit such as a clock. Omitting the supply control of these pulses from the execution contents of the computer 70 is effective for enabling the detection of the inter-vehicle distance to be performed at higher speed.

また、前記実施例においては、第1画像の全体輝度が
センサ30を用いて求められるとともに、その全体輝度と
適正範囲との比較結果から受光時間TRの補正の要否判定
が行われるようになっていたが、自車前方の照度を検出
する照度センサを設けて、その照度センサを用いて受光
時間TRの補正の要否判定を行うようにしてもよい。
Further, in the above embodiment, as with the overall brightness of the first image is determined using the sensor 30, the necessity determination for the whole luminance and appropriate range and the comparison result from the light receiving time T R correction is performed had become, the provided illuminance sensor for detecting a vehicle ahead of the illumination may be performed necessity determination of the correction of the light receiving time T R by using the illuminance sensor.

また、前記実施例においては、受光時間TRの補正(受
光時間補正ルーチンの実行を意味するのではなく、受光
時間TRを現実に変更することを意味する)が第1画像の
全体輝度が適正範囲から外れたと判定された場合に限っ
て行われるようになっていたが、全体輝度が適正範囲か
ら外れたか否かを判定することなく受光時間TRの補正を
行うようにしてもよい。例えば、第15図にフローチャー
トで示すように、まず、S200において、受光時間TRを変
更しないことと増加させることと減少させることとのう
ち現実に必要であるのはいずれであるかとは無関係に、
受光時間TRを正の補正量ΔTRだけ増加させ、その後、S2
01において、その増加が行われる前の画像内におけるよ
り増加が行われた後の画像内における方が輝度の変化量
(例えば前記輝度微分値の和)が大きいかまたは両者が
等しいか否かを判定し、そうであればS200に戻って再び
受光時間TRを増加させ、そうでなければS202において受
光時間TRを正の補正量ΔTRだけ減少させ、その後、S203
において、その減少が行われる前の画像内におけるより
減少が行われた後の画像内における方が輝度の変化量が
大きいかまたは両者が等しいか否かを判定し、そうであ
ればS202に戻って再び受光時間TRを減少させ、そうでな
ければS200に戻るようにしてもよいのである。つまり、
全体輝度を求めてそれが適正範囲から外れたか否かを判
定することも、その外れた方向が明る過ぎる方向である
のか暗過ぎる方向であるのかを判定することも、本発明
を実施する上で不可欠ではないのである。
Further, in the above embodiment, (not mean the execution of the light receiving time correcting routine, means changing the receiving time T R to reality) correction of the light receiving time T R is the overall brightness of the first image It was supposed to be performed only when it is determined that out of the proper range, may be performed to correct the photodetection time T R without determining whether the overall brightness is out of the proper range. For example, as shown in the flowchart in FIG. 15, first, in S200, regardless of whether it is real need of the reducing and increasing decided not to change the receiving time T R is either ,
Increasing the light receiving time T R by a positive correction amount [Delta] T R, then, S2
In 01, it is determined whether or not the amount of change in luminance (for example, the sum of the luminance differential values) is greater in the image after the increase than in the image before the increase, or whether both are equal. judgment increases again receiving time T R returns to S200 and if so, to reduce the light receiving time T R in S202 otherwise only positive correction amount [Delta] T R, then, S203
In, it is determined whether the amount of change in luminance is greater in the image after the reduction is performed than in the image before the reduction is performed or whether the two are equal, and if so, the process returns to S202. reducing the light-receiving time T R again Te is the process may return to S200 otherwise. That is,
It is also possible to determine whether or not it is out of the appropriate range by obtaining the overall luminance, to determine whether the deviated direction is a direction that is too bright or a direction that is too dark, and to implement the present invention. It is not essential.

以上、本発明の実施例を図面に基づいて詳細に説明し
たが、これらの他にも当業者の知識に基づいて種々の変
形,改良を施した態様で本発明を実施することができ
る。
Although the embodiments of the present invention have been described in detail with reference to the drawings, the present invention can be implemented in various modified and improved forms based on the knowledge of those skilled in the art.

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

第1図は本発明の一実施例である車間距離検出装置にお
ける受光時間の制御の一例を示すグラフである。第2図
は上記車間距離検出装置の本体部を示す平面図である。
第3図は上記車間距離検出装置の信号処理部を示すブロ
ック図である。第4図〜第7図はそれぞれ、第3図にお
けるコンピュータのROMに記憶されている転送パルス供
給ルーチン,画像データ取込みルーチン,車間距離検出
ルーチンおよび受光時間補正ルーチンを示すフローチャ
ートである。第8図は上記車間距離検出装置の作動を説
明するためのタイミングチャートである。第9図〜第14
図はそれぞれ、第7図の受光時間補正ルーチンの実行の
様子を説明するのに用いる画像を示すグラフである。第
15図は別の実施例における受光時間の制御の様子を説明
するためのフローチャートである。 30,32:第1,第2CCDラインセンサ 40:受光素子、42:受光素子列 50,52:第1,第2の撮像手段 64:スイッチング素子列 68:CCDシフトレジスタ 70:コンピュータ 74:シフトパルス発生器 76:転送パルス発生器
FIG. 1 is a graph showing an example of control of a light receiving time in an inter-vehicle distance detecting apparatus according to an embodiment of the present invention. FIG. 2 is a plan view showing a main body of the inter-vehicle distance detecting device.
FIG. 3 is a block diagram showing a signal processing unit of the inter-vehicle distance detecting device. 4 to 7 are flowcharts showing a transfer pulse supply routine, an image data acquisition routine, an inter-vehicle distance detection routine, and a light reception time correction routine stored in the ROM of the computer in FIG. 3, respectively. FIG. 8 is a timing chart for explaining the operation of the inter-vehicle distance detecting device. Figures 9 to 14
Each of the figures is a graph showing an image used to explain how the light receiving time correction routine of FIG. 7 is executed. No.
FIG. 15 is a flowchart for explaining how the light receiving time is controlled in another embodiment. 30, 32: first and second CCD line sensors 40: light receiving element, 42: light receiving element row 50, 52: first and second imaging means 64: switching element row 68: CCD shift register 70: computer 74: shift pulse Generator 76: Transfer pulse generator

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】車両に設けられてその車両と対象物との距
離を検出する車両用距離検出装置であって、 各々が、入射光の強度に応じて電荷を発生するとともに
それを蓄積する受光素子を複数備えていて、前記対象物
を含む像をそれぞれ撮像する2つの撮像手段と、 前記複数の受光素子にそれぞれ受光時間の間蓄積された
電荷量に対応する複数の画素信号を発生する画素信号発
生手段と、 それら画素信号に基づいて、前記2つの撮像手段がそれ
ぞれ撮像した2つの画像相互のずれ量を求め、そのずれ
量に応じて前記距離を決定する距離決定手段と、 前記画素信号に基づいて、前記受光時間の長さを前記画
像内における輝度の空間的変化量が最大となるように調
整する受光時間調整手段と を含むことを特徴とする車両用距離検出装置。
1. A vehicle distance detecting device provided in a vehicle for detecting a distance between the vehicle and an object, wherein each of the light receiving devices generates an electric charge according to the intensity of incident light and accumulates the electric charge. A pixel including a plurality of elements, each of which captures an image including the object, and a pixel which generates a plurality of pixel signals corresponding to the amount of electric charge accumulated in the plurality of light receiving elements during a light receiving time. A signal generating unit; a distance determining unit that obtains a shift amount between the two images captured by the two image capturing units based on the pixel signals, and determines the distance according to the shift amount; And a light-receiving time adjusting unit that adjusts the length of the light-receiving time so that the spatial variation of luminance in the image is maximized based on the following formula:
【請求項2】前記受光時間調整手段が、(a)前記画像
の全体輝度に基づいて前記受光時間の長さを調整すべき
方向を決定する調整方向決定部と、(b)前記受光時間
の長さを、その調整方向決定部により決定された方向に
設定量で暫定的に調整することを繰り返すとともに、そ
の暫定的な各回の調整に応じて前記輝度空間的変化量が
前回の輝度空間的変化量から変化する方向に基づいて受
光時間の調整量の適正値を決定する調整量決定部とを含
む請求項1に記載の車両用距離検出装置。
2. The light receiving time adjusting means: (a) an adjusting direction determining unit for determining a direction in which the length of the light receiving time is to be adjusted based on the overall luminance of the image; The length is repeatedly provisionally adjusted by the set amount in the direction determined by the adjustment direction determining unit, and the luminance spatial change amount is changed by the previous luminance spatial change in accordance with each provisional adjustment. The vehicle distance detection device according to claim 1, further comprising: an adjustment amount determining unit that determines an appropriate value of the adjustment amount of the light receiving time based on a direction changing from the change amount.
JP2045265A 1990-02-26 1990-02-26 Vehicle distance detection device Expired - Fee Related JP2712716B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2045265A JP2712716B2 (en) 1990-02-26 1990-02-26 Vehicle distance detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2045265A JP2712716B2 (en) 1990-02-26 1990-02-26 Vehicle distance detection device

Publications (2)

Publication Number Publication Date
JPH03246413A JPH03246413A (en) 1991-11-01
JP2712716B2 true JP2712716B2 (en) 1998-02-16

Family

ID=12714468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2045265A Expired - Fee Related JP2712716B2 (en) 1990-02-26 1990-02-26 Vehicle distance detection device

Country Status (1)

Country Link
JP (1) JP2712716B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5877897A (en) 1993-02-26 1999-03-02 Donnelly Corporation Automatic rearview mirror, vehicle lighting control and vehicle interior monitoring system using a photosensor array
US6822563B2 (en) 1997-09-22 2004-11-23 Donnelly Corporation Vehicle imaging system with accessory control
US6891563B2 (en) 1996-05-22 2005-05-10 Donnelly Corporation Vehicular vision system
US7655894B2 (en) 1996-03-25 2010-02-02 Donnelly Corporation Vehicular image sensing system
EP1504276B1 (en) 2002-05-03 2012-08-08 Donnelly Corporation Object detection system for vehicle
US7526103B2 (en) 2004-04-15 2009-04-28 Donnelly Corporation Imaging system for vehicle
WO2008024639A2 (en) 2006-08-11 2008-02-28 Donnelly Corporation Automatic headlamp control system

Also Published As

Publication number Publication date
JPH03246413A (en) 1991-11-01

Similar Documents

Publication Publication Date Title
US9756237B2 (en) Focus detection device and image-capturing apparatus
CN105075240A (en) Interchangeable-lens digital camera
WO1992009000A1 (en) Device for sensing in-focus position
US7440690B2 (en) Focus detection apparatus and control method thereof
JP2712716B2 (en) Vehicle distance detection device
JP2004007625A (en) Time delay integration imager having automatic speed optimizing function
JP2911521B2 (en) Sensor device
US7042491B2 (en) Image signal output method, image signal output device, rangefinder, and imaging device
JP3767201B2 (en) Optical sensor
JP2893687B2 (en) Focus detection device
JP3316550B2 (en) Auto focus camera
CN114158156B (en) PWM (pulse-width modulation) adjusting method, device, equipment and storage medium of light supplementing lamp
US20060269271A1 (en) Method and device for controlling the exposure of a camera
JP2814945B2 (en) Automatic focus detection device
CN107704827A (en) A kind of photoelectric sensor and there are its photosensor arrays
US11140351B2 (en) Photoelectric conversion apparatus, photoelectric conversion system, and mobile object
US5892985A (en) Eye ball detecting device
US11489999B2 (en) Photoelectric conversion device and method of driving photoelectric conversion device
US11838671B2 (en) Photoelectric conversion apparatus for detecting luminance change, control method of photoelectric conversion apparatus, program storage medium, and image capturing apparatus
US11258966B2 (en) Photoelectric conversion device, camera, movable object, and signal processing device
US11546538B2 (en) Photoelectric conversion apparatus, photoelectric conversion system, moving body, and method for checking photoelectric conversion apparatus
US20220182567A1 (en) Photoelectric conversion apparatus, photoelectric conversion system, moving body, semiconductor substrate, and method for driving photoelectric conversion apparatus
JPS595212A (en) Driving circuit for storage type image sensor
JP2002023045A (en) Measuring device and camera
JPH10281762A (en) Distance-measuring device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees