JPH09273927A - Measuring apparatus and safety run system - Google Patents

Measuring apparatus and safety run system

Info

Publication number
JPH09273927A
JPH09273927A JP8110111A JP11011196A JPH09273927A JP H09273927 A JPH09273927 A JP H09273927A JP 8110111 A JP8110111 A JP 8110111A JP 11011196 A JP11011196 A JP 11011196A JP H09273927 A JPH09273927 A JP H09273927A
Authority
JP
Japan
Prior art keywords
distance
measuring device
value
data
vehicle
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.)
Pending
Application number
JP8110111A
Other languages
Japanese (ja)
Inventor
Yuichi Niimoto
祐一 新本
Hideki Touei
英樹 東影
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP8110111A priority Critical patent/JPH09273927A/en
Publication of JPH09273927A publication Critical patent/JPH09273927A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reset a constant used in operations after a measuring apparatus is assembled without correctly adjusting a constant of an optical system, etc., used for operating measuring values to be a design value. SOLUTION: An object to be detected is arranged at a set distance preliminarily registered in a nonvolatile memory 15. A synchronous signal is input to a signal input circuit 17. When the signal input circuit 17 receives the synchronous signal, a correlation operation part 14 is turned to a data memory mode, and detects a shift amount D of right and left images. The correlation operation part 14 obtains a constant Q.f (positional relation data) to be used in operations from a value of the set distance in the nonvolatile memory 15 and the detected shift amount D. The constant is stored in the nonvolatile memory 15. In a distance-measuring mode, the correlation operation part 14 operates a distance L of the object to be detected with the use of the constant Q.f stored in the nonvolatile memory 15.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は測定装置及び安全走
行システムに関する。特に、本発明は、位相差相関法を
用いて被検知物体までの距離を計測するための測定装置
と、当該測定装置を用いた安全走行システムに関する。
TECHNICAL FIELD The present invention relates to a measuring device and a safe traveling system. In particular, the present invention relates to a measuring device for measuring a distance to an object to be detected by using a phase difference correlation method, and a safe traveling system using the measuring device.

【0002】[0002]

【従来の技術】位相差相関法を用いて視野内にある被検
知物体までの距離を計測する従来の距離測定装置1の概
略構成を図1に示し、その光学的な構成を図2に示す。
この距離測定装置1はフォトダイオート(PD)等の光
検出器4a,4bを用いたものであって、図2に示すよ
うに、等しい焦点距離fを有する第1の受光レンズ2a
と第2の受光レンズ2bとが一定の基線長Q(第1及び
第2の受光レンズ2a,2bの光軸3a,3b間の間
隔)だけ隔てて配置されており、第1及び第2の受光レ
ンズ2a,2bから焦点距離fだけ離れた位置にはそれ
ぞれ第1及び第2の光検出器4a,4bが配置されてい
る。
2. Description of the Related Art FIG. 1 shows a schematic configuration of a conventional distance measuring device 1 for measuring a distance to a detected object in a visual field by using a phase difference correlation method, and FIG. 2 shows an optical configuration thereof. .
This distance measuring device 1 uses photodetectors 4a and 4b such as a photo diauto (PD), and as shown in FIG. 2, a first light receiving lens 2a having an equal focal length f.
And the second light receiving lens 2b are spaced apart by a constant base line length Q (a distance between the optical axes 3a and 3b of the first and second light receiving lenses 2a and 2b). First and second photodetectors 4a and 4b are arranged at positions separated from the light receiving lenses 2a and 2b by the focal length f.

【0003】しかして、この位相差相関法による距離測
定装置1にあっては、自然光あるいは投光素子(図示せ
ず)から出射された光が、被検知物体OBJの表面で反
射拡散されると、その反射光rは、第1の受光レンズ2
aを通過する第1の光路を通って第1の光検出器4aに
入射し、同時に第2の受光レンズ2bを通過する第2の
光路を通って第2の光検出器4bに入射する。第1及び
第2の光検出器4a,4bからマイクロプロセッサ(C
PU)6へは、受光した光の光強度分布が画像情報とし
て出力される。そして、マイクロプロセッサ6において
は、第1の光検出器4aから供給される画像5aと第2
の光検出器4bから供給される画像5bの重心位置のず
れ量Dが計算される。このずれ量Dは図2のX1+X2
相当する。そして、被検知物体OBJまでの距離Lは、
画像5a,5bどうしの重心位置のずれ量の値D=X1
+X2を用い、三角法に基づいて次の式のように求め
られる。 L=Q・f/D … これらの演算がマイクロプロセッサ6によって実行され
ると、図1に示すように、その結果は出力回路7を介し
て距離データとして出力される。
However, in the distance measuring device 1 based on the phase difference correlation method, natural light or light emitted from a light projecting element (not shown) is reflected and diffused on the surface of the object to be detected OBJ. , The reflected light r is reflected by the first light receiving lens 2
The light enters the first photodetector 4a through the first optical path passing through a, and simultaneously enters the second photodetector 4b through the second optical path passing through the second light receiving lens 2b. From the first and second photodetectors 4a and 4b to the microprocessor (C
The light intensity distribution of the received light is output to the PU) 6 as image information. Then, in the microprocessor 6, the image 5a supplied from the first photodetector 4a and the second image 5a
The shift amount D of the barycentric position of the image 5b supplied from the photodetector 4b is calculated. This shift amount D corresponds to X 1 + X 2 in FIG. The distance L to the detected object OBJ is
Value of shift amount of center of gravity between images 5a and 5b D = X 1
By using + X 2 , it is obtained by the following formula based on trigonometry. L = Q · f / D ... When these operations are executed by the microprocessor 6, the result is output as distance data via the output circuit 7, as shown in FIG.

【0004】上記式すなわち画像のずれ量Dに基づい
て被検知物体OBJまでの距離Lを求める原理を図3に
より説明する。いま、被検知物体OBJが、第1及び第
2の受光レンズ2a,2bの中心面Hから距離L、第2
の受光レンズ2bの光軸3bからqの点に位置している
とき、第1の光検出器4aでは第1の受光レンズ2aの
光軸3aに対応する位置を基準とする横座標X1に被検
知物体OBJの画像5a(重心位置)が生じ、第2の光
検出器4bでは第2の受光レンズ2bの光軸3bに対応
する位置を基準とする横座標X2に被検知物体OBJの
画像5b(重心位置)が生じているとすると、図3から
分かるように、これらの間には、次式のような関係があ
る。 Qーq=(L/f)X1 q=(L/f)X2 この2式からqを消去し、X1+X2=Dとすると、上記
式が得られる。よって、このように2つの光検出器4
a,4bを用いれば、被検知物体OBJが視野内の任意
の位置にあっても、式により被検知物体OBJまでの
距離Lを正確に求めることができることが分かる。
The principle of obtaining the distance L to the detected object OBJ based on the above equation, that is, the image shift amount D will be described with reference to FIG. Now, the detected object OBJ is located at a distance L from the center plane H of the first and second light receiving lenses 2a and 2b,
When it is located at a point q from the optical axis 3b of the light receiving lens 2b of the first photodetector 4a, the first photodetector 4a has the abscissa X 1 based on the position corresponding to the optical axis 3a of the first light receiving lens 2a. image 5a of the detected object OBJ (gravity center position) occurs, the horizontal coordinates X 2 of the detection object OBJ from its position at that corresponds to the optical axis 3b of the second photodetector 4b second light receiving lens 2b Assuming that the image 5b (the position of the center of gravity) is generated, as shown in FIG. 3, there is a relation as shown below. Q−q = (L / f) X 1 q = (L / f) X 2 If q is eliminated from these two equations and X 1 + X 2 = D, the above equation is obtained. Therefore, in this way, the two photodetectors 4 are
By using a and 4b, it can be seen that the distance L to the detected object OBJ can be accurately obtained from the formula even if the detected object OBJ is located at an arbitrary position within the visual field.

【0005】しかしながら、被検知物体OBJに大きさ
があるため、実際には、第1及び第2の光検出器4a,
4bにおける受光パターンは点ではなく、光強度の分布
パターン(画像)となる。従って、上記ずれ量Dの定義
をそのまま用いることができず、ずれ量Dの定義もしく
はずれ量Dの求め方を拡張する必要がある。位相差相関
法を用いた距離測定装置1では、以下のようにして画像
5a,5bのずれ量Dを求めている。まず、基準線P
A,PBを定義する。図4(a)は第1及び第2の受光
レンズ2a,2bと第1及び第2の光検出器4a,4b
を示し、図4(b)は第1及び第2の光検出器4a,4
bから供給される画像5a,5bであって、横軸は光検
出器4a,4b上での横座標XA,XB、縦軸は光強度
である。図4(b)に示されている基準線PAは画像5
aの画面内における位置を示す縦線であって、第1の光
検出器4a上の光軸3aとの交点Aに対応している。同
様に、基準線PBは画像5bの画面内における位置を示
す縦線であって、第2の光検出器4b上の光軸3bとの
交点Bに対応している。第1の光検出器4aにより供給
された画像5aと第2の光検出器4bにより供給された
画像5bのずれ量Dを求めるには、まず両画像5a,5
bを比較して図4(c)に示すように基準線PAと基準
線PBを画面上で一致させ、ついで、一方の光検出器4
bの画像5bを基準線PBごと他方の光検出器4aの画
像5bと最も一致するように移動させる。こうして2つ
の画像5a,5bを最も一致させたときの基準線PA,
基準線PB間の距離を、この時のずれ量Dと定義し、
式を用いて被検知物体OBJまでの距離Lを求める。な
お、2つの画像5a,5bが最も一致した時とは、図4
(d)に示す斜線領域のように両画像5a,5bの重な
らない領域の面積が最小となった状態であると定義す
る。
However, since the object to be detected OBJ has a size, the first and second photodetectors 4a, 4a,
The light receiving pattern in 4b is not a point but a light intensity distribution pattern (image). Therefore, the definition of the deviation amount D cannot be used as it is, and it is necessary to expand the definition of the deviation amount D or the method of obtaining the deviation amount D. In the distance measuring device 1 using the phase difference correlation method, the shift amount D between the images 5a and 5b is obtained as follows. First, the reference line P
Define A and PB. FIG. 4A shows the first and second light receiving lenses 2a and 2b and the first and second photodetectors 4a and 4b.
FIG. 4B shows the first and second photodetectors 4a, 4
In the images 5a and 5b supplied from b, the horizontal axis represents the abscissas XA and XB on the photodetectors 4a and 4b, and the vertical axis represents the light intensity. The reference line PA shown in FIG.
It is a vertical line indicating the position of a in the screen and corresponds to the intersection A with the optical axis 3a on the first photodetector 4a. Similarly, the reference line PB is a vertical line indicating the position of the image 5b in the screen, and corresponds to the intersection B with the optical axis 3b on the second photodetector 4b. In order to obtain the shift amount D between the image 5a supplied by the first photodetector 4a and the image 5b supplied by the second photodetector 4b, first, both images 5a, 5
b is compared and the reference line PA and the reference line PB are aligned on the screen as shown in FIG.
The image 5b of b is moved together with the reference line PB so as to best match the image 5b of the other photodetector 4a. In this way, the reference line PA when the two images 5a and 5b are best matched,
The distance between the reference lines PB is defined as the deviation amount D at this time,
The distance L to the object to be detected OBJ is calculated using the formula. Note that the time when the two images 5a and 5b best match each other is as shown in FIG.
It is defined that the area of the non-overlapping area of both images 5a and 5b is the minimum area, such as the shaded area shown in (d).

【0006】このような位相差相関法を用いた距離測定
装置1では、被検知物体OBJの表面に模様などの色柄
があっても、2つの画像5a,5bが同じ方向にシフト
するので、ずれ量Dに影響がなく、このような場合にも
被検知物体OBJまでの距離Lを正確に計測できる。さ
らに、相関演算によりずれ量Dを高精度に求めることが
できるため、被検知物体OBJが遠距離にある場合で
も、その距離Lを高精度に計測できるという特徴があ
る。
In the distance measuring device 1 using such a phase difference correlation method, the two images 5a and 5b shift in the same direction even if there is a color pattern such as a pattern on the surface of the detected object OBJ. The displacement amount D is not affected, and the distance L to the detected object OBJ can be accurately measured even in such a case. Further, since the deviation amount D can be obtained with high accuracy by the correlation calculation, the distance L can be measured with high accuracy even when the detected object OBJ is at a long distance.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、このよ
うな構成の距離測定装置にあっては、前記式に基づい
て被検知物体までの距離を算出しているので、距離演算
に使用する定数Q及びfの値に誤差を生じると、算出し
た距離の値にも誤差を生じるという問題があった。
However, in the distance measuring device having such a configuration, since the distance to the detected object is calculated based on the above equation, the constant Q and When an error occurs in the value of f, there is a problem that an error also occurs in the calculated distance value.

【0008】この定数Q及びfの誤差を小さくするに
は、受光素子に対するレンズの位置決めを正確に行なう
必要がある。しかしながら、距離測定装置の量産工程に
おいて、レンズの位置調整を正確に行なうことは困難で
あり、また正確に調整するためには調整時間が長くな
り、コストアップの原因になるという問題があった。
In order to reduce the error between the constants Q and f, it is necessary to accurately position the lens with respect to the light receiving element. However, in the mass production process of the distance measuring device, it is difficult to accurately adjust the position of the lens, and it takes a long time to adjust the position accurately, which causes a problem of cost increase.

【0009】本発明は叙上の従来例の欠点に鑑みてなさ
れたものであり、その目的とするところは、測定装置に
おいて、測定値の演算に用いる光学系等の定数を設計値
に正確に調整しなくても、測定誤差の小さな測定値が得
られるようにすることにある。また、当該測定装置を用
いた安全走行システムを提供することにある。
The present invention has been made in view of the drawbacks of the above conventional examples, and an object of the present invention is to accurately set a constant of an optical system or the like used for calculating a measured value in a measuring device to a designed value. The purpose is to obtain a measurement value with a small measurement error without adjustment. Another object is to provide a safe traveling system using the measuring device.

【0010】[0010]

【課題を解決するための手段】請求項1に記載の測定装
置は、構成部材間の位置関係データを記憶する記憶手段
と、該位置関係データを用いて前記測定値を算出する演
算手段とを備え、前記構成部材間の位置関係を利用して
測定値を算出する測定装置において、前記記憶手段に記
憶されている位置関係データを再設定するための再設定
手段を備えたことを特徴としている。
According to a first aspect of the present invention, there is provided a measuring device comprising a storage means for storing positional relationship data between constituent members and an arithmetic means for calculating the measured value using the positional relationship data. In the measuring device for calculating a measurement value by utilizing the positional relationship between the constituent members, a resetting means for resetting the positional relationship data stored in the storage means is provided. .

【0011】請求項1に記載の測定装置は、測定値を算
出するための基礎となる位置関係データを記憶手段に再
設定することのできる手段を備えているので、構成部材
間の位置関係が変化して測定結果に影響を及ぼすような
場合には、構成部材間の位置関係の変化に対応した位置
関係データを記憶手段に再設定することができる。した
がって、装置組み立て時に部材間の位置関係が設計値か
ら外れている場合や経年的に変化した場合には、位置関
係データを個々の測定装置に応じて再設定することによ
り、測定精度を高精度に維持することができる。
Since the measuring device according to the first aspect comprises means capable of resetting the positional relationship data, which is the basis for calculating the measured value, in the storage means, the positional relationship between the constituent members is In the case where it changes and affects the measurement result, the positional relationship data corresponding to the change in the positional relationship between the constituent members can be reset in the storage means. Therefore, if the positional relationship between members is out of design values or changes over time when the device is assembled, the positional relationship data can be reset according to each measuring device to improve the measurement accuracy. Can be maintained at.

【0012】請求項2に記載の実施態様は、請求項1に
記載の測定装置において、データ記憶モードに設定する
モード設定手段を備え、前記記憶手段への位置関係デー
タの記憶はデータ記憶モードにて行われるものであるこ
とを特徴とする測定装置。
According to a second aspect of the present invention, in the measuring apparatus according to the first aspect, a mode setting means for setting a data storage mode is provided, and the storage of the positional relationship data in the storage means is performed in the data storage mode. A measuring device characterized by being performed by

【0013】モード設定手段によってデータ記憶モード
に切り替えた状態で位置関係データの再設定を行なえる
ので、不測に位置関係データが書き換えられるのを防止
することができる。
Since the positional relationship data can be reset while the mode is set to the data storage mode by the mode setting means, it is possible to prevent the positional relationship data from being accidentally rewritten.

【0014】請求項3に記載の実施態様は、請求項1又
は2に記載の測定装置において、基準状態における既知
の基準値が外部から入力される基準値入力手段と、該基
準状態における測定装置による測定値と前記入力された
基準値とから前記部材間の位置関係データを算出する位
置データ算出手段と、を備え、前記記憶手段は、前記位
置データ算出手段により算出された位置関係データを記
憶することを特徴としている。
According to a third aspect of the present invention, in the measuring apparatus according to the first or second aspect, a reference value input means for inputting a known reference value in a reference state from the outside, and a measuring apparatus in the reference state. Position data calculation means for calculating the positional relationship data between the members from the measured value by the reference value and the input reference value, and the storage means stores the positional relationship data calculated by the position data calculation means. It is characterized by doing.

【0015】この実施態様によれば、基準値入力手段に
より基準状態における既知の基準値入力するだけで、測
定装置の機能を利用して位置関係データを再設定するこ
とができ、再設定を容易に行なえる。なお、基準値入力
手段による基準値の入力は再設定時に入力してもよく、
予め入力して適宜記憶手段に格納しておいてもよい。
According to this embodiment, the positional relationship data can be reset by utilizing the function of the measuring device by simply inputting the known reference value in the reference state by the reference value inputting means, and the resetting is easy. Can be done. The reference value input means may input the reference value at the time of resetting,
It may be input in advance and appropriately stored in the storage means.

【0016】請求項4に記載の実施態様は、請求項1又
は2に記載の測定装置において、前記位置関係データが
外部から入力される位置データ入力手段を備えたことを
特徴としている。
A fourth aspect of the present invention is characterized in that, in the measuring device according to the first or second aspect, it is provided with position data input means for inputting the positional relationship data from the outside.

【0017】これは、位置関係データを測定装置の機能
を利用することなく、装置外部で求めた位置関係データ
を記憶手段に格納するものである。この実施態様によれ
ば、測定装置の構成を簡略にできる。
This is for storing the positional relationship data obtained outside the apparatus in the storage means without utilizing the function of the measuring apparatus. According to this embodiment, the configuration of the measuring device can be simplified.

【0018】上記位置関係データとしては、光を用いて
物体までの距離を測定する測定装置の場合には、例えば
請求項5の実施態様のように、少なくとも受光レンズと
受光素子との距離を用いることができる。また、位相差
相関法によって物体までの距離を測定する測定装置の場
合には、請求項6の実施態様のように、2つの受光レン
ズ間の距離と、受光レンズ及び受光素子間の距離とを用
いることができる。さらには、位相差相関法によって物
体までの距離を測定する測定装置の場合には、請求項7
の実施態様のように、2つの受光レンズ間の距離と受光
レンズ及び受光素子間の距離との積を位置関係データと
して用いることができる。
As the positional relationship data, in the case of a measuring apparatus that measures the distance to an object using light, for example, at least the distance between the light receiving lens and the light receiving element is used as in the fifth embodiment. be able to. Further, in the case of a measuring device that measures the distance to an object by the phase difference correlation method, the distance between the two light receiving lenses and the distance between the light receiving lens and the light receiving element are set as in the embodiment of claim 6. Can be used. Furthermore, in the case of a measuring device that measures the distance to an object by the phase difference correlation method,
As in the above embodiment, the product of the distance between the two light receiving lenses and the distance between the light receiving lens and the light receiving element can be used as the positional relationship data.

【0019】請求項8に記載の測定装置は、構成部材間
の位置関係を利用して測定値を算出する測定装置であっ
て、設計値による前記部材間の位置関係データを基礎デ
ータとして記憶する基礎データ記憶手段と、前記部材間
の位置関係の設計値からの位置ずれ値を補正データとし
て記憶する補正データ記憶手段と、前記基礎データ及び
補正データを用いて前記測定値を算出する演算手段と、
を備えたことを特徴としている。
The measuring device according to claim 8 is a measuring device for calculating a measured value by utilizing the positional relationship between constituent members, and stores the positional relationship data between the members according to a design value as basic data. Basic data storage means, correction data storage means for storing a displacement value from the design value of the positional relationship between the members as correction data, and calculation means for calculating the measured value using the basic data and the correction data. ,
It is characterized by having.

【0020】請求項8に記載の測定装置は、部材間の位
置関係データの設計値からのずれを表わす補正データを
記憶する手段を備えているので、構成部材間の位置関係
の設計値からのずれを補正データにより補正し、測定精
度を高くすることができる。
Since the measuring device according to claim 8 is provided with a means for storing the correction data representing the deviation of the positional relationship data between the members from the designed value, the measuring device according to the present invention can correct the positional relationship data between the structural members from the designed value. The deviation can be corrected by the correction data to improve the measurement accuracy.

【0021】請求項9に記載の実施態様は、請求項8に
記載の測定装置において、前記補正データ記憶手段に記
憶される位置ずれ値を再設定するための再設定手段を備
えたことを特徴としている。
According to a ninth aspect of the present invention, there is provided the measuring device according to the eighth aspect, further comprising resetting means for resetting the positional deviation value stored in the correction data storing means. I am trying.

【0022】この実施態様にあっては、補正データ記憶
手段に記憶されている位置ずれ値を再設定することがで
きるので、装置組み立て時に部材間の位置関係が設計値
から外れた場合や経年的に変化した場合には、構成部材
間の位置関係の変化に対応した補正データを用いて測定
値を演算することができ、測定精度をいつまでも高精度
に維持することができる。
In this embodiment, since the positional deviation value stored in the correction data storage means can be reset, when the positional relationship between the members deviates from the design value when the apparatus is assembled, or the secular change occurs. When it changes to, the measurement value can be calculated using the correction data corresponding to the change in the positional relationship between the constituent members, and the measurement accuracy can be maintained with high accuracy forever.

【0023】請求項10に記載の実施態様は、請求項8
又は9に記載の測定装置において、データ記憶モードに
設定するモード設定手段を備え、前記補正データ記憶手
段への位置ずれ値の記憶はデータ記憶モードにて行われ
るものであることを特徴としている。
The embodiment described in claim 10 is the embodiment described in claim 8.
Alternatively, the measuring device according to the ninth aspect is characterized in that a mode setting means for setting a data storage mode is provided, and the positional deviation value is stored in the correction data storage means in the data storage mode.

【0024】モード設定手段によってデータ記憶モード
に切り替えた状態で位置関係データの再設定を行なえる
ので、不測に位置関係データが書き換えられるのを防止
することができる。
Since the positional relation data can be reset while the mode is set to the data storage mode by the mode setting means, it is possible to prevent the positional relation data from being accidentally rewritten.

【0025】請求項11に記載の実施態様は、請求項8
〜10に記載の測定装置において、基準状態における既
知の基準値が外部から入力される基準値入力手段と、該
基準状態における測定装置による測定値と前記入力され
た基準値とから前記部材の位置ずれ値を算出する位置ず
れ値算出手段と、を備え、前記補正データ記憶手段に
は、前記位置データ算出手段により算出された位置ずれ
値が補正データとして記憶されることを特徴としてい
る。
The embodiment described in claim 11 is the same as claim 8.
In the measuring device according to any one of 10 to 10, the reference value input means for inputting a known reference value in a reference state from the outside, the position of the member from the measurement value by the measuring device in the reference state and the input reference value. A positional shift value calculating unit for calculating a shift value, and the positional shift value calculated by the positional data calculating unit is stored as correction data in the correction data storage unit.

【0026】この実施態様によれば、基準値入力手段に
より基準状態における既知の基準値入力するだけで、測
定装置の機能を利用して位置ずれ値を設定することがで
き、位置ずれ値の補正を容易に行なえる。なお、基準値
入力手段による基準値の入力は再設定時に入力してもよ
く、予め入力して適宜記憶手段に格納しておいてもよ
い。
According to this embodiment, the positional deviation value can be set by utilizing the function of the measuring device by simply inputting the known reference value in the reference state by the reference value input means, and the positional deviation value can be corrected. Can be done easily. The reference value input means may input the reference value at the time of resetting, or may be input in advance and stored in the storage means as appropriate.

【0027】請求項12に記載の実施態様は、請求項8
〜10に記載の測定装置において、前記位置ずれ値が外
部から入力される位置ずれ値入力手段を備えたことを特
徴としている。
The embodiment described in claim 12 is the same as claim 8.
The measuring apparatus described in any one of 10 to 10 is characterized by including a positional deviation value input means for inputting the positional deviation value from the outside.

【0028】これは、測定装置の機能を利用することな
く、装置外部で求めた位置ずれ値を補正データ記憶手段
に格納するものである。この実施態様によれば、測定装
置の構成を簡略にできる。
This is to store the positional deviation value obtained outside the apparatus in the correction data storage means without using the function of the measuring apparatus. According to this embodiment, the configuration of the measuring device can be simplified.

【0029】上記位置関係データとしては、光を用いて
物体までの距離を測定する測定装置の場合には、例えば
請求項13の実施態様のように、少なくとも受光レンズ
と受光素子との距離を用いることができる。
In the case of a measuring device that measures the distance to an object using light, the positional relationship data uses at least the distance between the light-receiving lens and the light-receiving element as in the thirteenth embodiment. be able to.

【0030】請求項14に記載の安全走行システムは、
請求項1〜13の測定装置を備え、周囲に存在する物体
までの距離を測定すべく車室内もしくは車室外に前記測
定装置が取り付けられたことを特徴としている。
The safe traveling system according to claim 14 is:
The measuring device according to any one of claims 1 to 13 is provided, and the measuring device is attached inside or outside the vehicle compartment to measure a distance to an object existing in the surroundings.

【0031】この安全走行システムは前記測定装置を備
えているので、背景や他の被検知物体に妨げられること
なく、目的とする被検知物体(特に、最も近くの前方車
両や後方車両)までの距離を高い確度で検出することが
できる。
Since this safe traveling system is equipped with the above-mentioned measuring device, it is possible to reach a desired object to be detected (particularly the nearest front vehicle or rear vehicle) without being disturbed by the background or other objects to be detected. The distance can be detected with high accuracy.

【0032】請求項15に記載の実施態様は、請求項1
4に記載の安全走行システムにおいて、車速表示メータ
の付近に前記測定装置の出力に基づいた前記物体までの
距離に関する表示を行なう表示部が取り付けられたこと
を特徴としている。
The embodiment described in claim 15 is the same as claim 1.
In the safe traveling system according to item 4, a display unit for displaying the distance to the object based on the output of the measuring device is attached near the vehicle speed display meter.

【0033】車速表示メーターの付近に前記測定装置の
出力に基づいた前記物体までの距離に関する表示を行な
う表示部を設ければ、前方車両との車間距離等を表示部
に表示することができる。
If a display unit for displaying the distance to the object based on the output of the measuring device is provided near the vehicle speed display meter, the inter-vehicle distance to the preceding vehicle can be displayed on the display unit.

【0034】請求項16に記載の実施態様は、請求項1
4に記載の安全走行システムにおいて、少なくとも前記
測定装置の出力に基づいて、自車両が周囲に存在する物
体に衝突する可能性のある危険な状態であるか否かを判
断する判断装置を備えたことを特徴としている。
The embodiment described in claim 16 is the same as claim 1.
4. The safe traveling system according to 4, further comprising a determination device that determines, based on at least the output of the measurement device, whether or not the host vehicle is in a dangerous state in which it may collide with an object existing in the surroundings. It is characterized by that.

【0035】測定装置の出力に基づいて、周囲に存在す
る物体に衝突する可能性のある危険な状態であるか否か
を判断する判断装置を備えていれば、未然に例えば警報
を発したり、衝突の危険があることを表示したり、ブレ
ーキを作動させたりすることにより、衝突事故を防止す
ることができる。
If a judging device for judging whether or not there is a dangerous state in which there is a possibility of colliding with an object existing around based on the output of the measuring device, for example, an alarm is given in advance, A collision accident can be prevented by displaying that there is a risk of collision or by activating the brake.

【0036】請求項17に記載の実施態様は、請求項1
4に記載の安全走行システムにおいて、少なくとも前記
測定装置の出力に基づいて、アクセル開度もしくはブレ
ーキを制御する制御手段を備えたことを特徴としてい
る。
The embodiment as claimed in claim 17 is as follows.
The safe traveling system according to item 4 is characterized by comprising control means for controlling an accelerator opening degree or a brake based on at least the output of the measuring device.

【0037】測定装置の出力に基づいて、アクセル開度
もしくはブレーキを制御する制御手段を備えていれば、
車両の状態に応じて車両の速度を安全な範囲にコントロ
ールすることができる。
If a control means for controlling the accelerator opening or the brake is provided based on the output of the measuring device,
The speed of the vehicle can be controlled within a safe range according to the state of the vehicle.

【0038】請求項18に記載の実施態様は、請求項1
4に記載の安全走行システムにおいて、少なくとも前記
測定装置の出力に基づいて、前方の車両が発進したこと
を運転車に報知する報知手段を備えたことを特徴として
いる。
The embodiment described in claim 18 is according to claim 1.
The safe traveling system according to item 4 is characterized in that it is provided with an informing means for informing a driving vehicle that the vehicle ahead has started based on at least the output of the measuring device.

【0039】測定装置の出力に基づいて、前方の車両が
発進したことを運転者に告知する手段を備えていれば、
例えば交通渋滞の場合などに前方車両の発進を知らせる
ことができ、交通渋滞での運転を楽にすることができ
る。
If there is provided means for notifying the driver that the vehicle ahead has started based on the output of the measuring device,
For example, in the case of traffic congestion, the start of the vehicle ahead can be notified, and driving in traffic congestion can be facilitated.

【0040】[0040]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

(第1の実施形態)図5は本発明の一実施形態による距
離測定装置11の構成を示す図である。12a,12b
は被検知物体で反射散乱された光を光検出器13a,1
3bの受光面に結像させるためのレンズである。13
a,13bはフォトダイオードアレイ等の光検出器(受
光素子)であって、多数の画素を有しており、各画素毎
に光強度を示す信号(画像信号)を出力している。14
は相関演算部であって、距離演算モードと、データ記憶
モードとを有している。距離演算モードにおいては、相
関演算部14は、光検出器13aから出力される画像信
号(以下、左画像という)と光検出器13bから出力さ
れる画像信号(以下、右画像)のずれ量Dを求め、該ず
れ量Dに基づいて被検知物体までの距離Lを演算する。
また、データ記憶モードにおいては、相関演算部14
は、後述のように左右画像のずれ量Dを求め、該ずれ量
Dに基づいてレンズ12a,12b間の基線長Qやレン
ズ12a,12bと光検出器13a,13bの間の距離
f(以下、単に距離fという)を演算し、演算された基
線長Qや距離fの値、あるいは、直接に入力された基線
長Qや距離fの値を不揮発性メモリ15に格納する。1
5は不揮発性メモリであって、相関演算部14において
距離演算するのに必要なデータや、これらのデータの更
新に必要なデータなどを記憶している。この不揮発性メ
モリ15としては、E2PROMやバッテリーバックア
ップ付きのSRAM、その他の書換え可能なROMなど
が挙げられる。16は相関演算部14で求められた被検
知物体までの距離Lを距離データとして出力する出力回
路である。17は信号入力回路であって、外部からの同
期信号入力や復帰型の外部スイッチ18のオンによって
作動し、相関演算部14をデータ記憶モードに切り換え
る。19はデータ入力回路であって、データ記憶モード
において距離データLxを受信すると、Q・fを演算す
るためのデータとして当該距離データLxを相関演算部
14へ送信する。
(First Embodiment) FIG. 5 is a diagram showing the configuration of a distance measuring device 11 according to an embodiment of the present invention. 12a, 12b
Is the light detectors 13a, 1 that detect the light reflected and scattered by the detected object.
It is a lens for forming an image on the light receiving surface of 3b. Thirteen
Reference numerals a and 13b denote photodetectors (light-receiving elements) such as photodiode arrays, which have a large number of pixels and output a signal (image signal) indicating the light intensity for each pixel. 14
Is a correlation calculation unit, and has a distance calculation mode and a data storage mode. In the distance calculation mode, the correlation calculation unit 14 causes the deviation amount D between the image signal output from the photodetector 13a (hereinafter, left image) and the image signal output from the photodetector 13b (hereinafter, right image). Then, the distance L to the detected object is calculated based on the deviation amount D.
In the data storage mode, the correlation calculation unit 14
Is calculated as described later, and the base line length Q between the lenses 12a and 12b and the distance f between the lenses 12a and 12b and the photodetectors 13a and 13b (hereinafter , Simply referred to as the distance f), and the calculated values of the baseline length Q and the distance f, or the directly input values of the baseline length Q and the distance f are stored in the nonvolatile memory 15. 1
Reference numeral 5 denotes a non-volatile memory, which stores data necessary for distance calculation in the correlation calculation unit 14 and data necessary for updating these data. Examples of the non-volatile memory 15 include E 2 PROM, SRAM with battery backup, and other rewritable ROM. An output circuit 16 outputs the distance L to the detected object obtained by the correlation calculation unit 14 as distance data. Reference numeral 17 denotes a signal input circuit, which operates when a synchronizing signal is input from the outside or a return type external switch 18 is turned on to switch the correlation calculator 14 to a data storage mode. A data input circuit 19 receives the distance data Lx in the data storage mode and transmits the distance data Lx to the correlation calculation unit 14 as data for calculating Qf.

【0041】図6は不揮発性メモリ15のデータ内容の
一例を示すメモリマップであって、不揮発性メモリ15
のアドレスADRS1にはレンズ12a,12b間の基
線長Qを格納でき、ADRS2にはレンズ12a,12
bと光検出器13a,13bの間の距離fの値を格納で
き、ADRS3にはQ・fの値を格納でき、ADRS4
には被検知物体の測定距離の規定値L1を格納でき、さ
らに必要に応じてADRS5以下には被検知物体の測定
距離の異なる規定値L2などを順次格納できるようにな
っている。
FIG. 6 is a memory map showing an example of data contents of the non-volatile memory 15.
Address ADRS1 can store the baseline length Q between the lenses 12a and 12b, and ADRS2 can store the lenses 12a and 12b.
b can store the value of the distance f between the photodetectors 13a and 13b, ADRS3 can store the value of Qf, and ADRS4
Can store the specified value L1 of the measured distance of the detected object, and further can store the specified values L2 of different measured distances of the detected object in sequence below ADRS5 as required.

【0042】この距離測定装置11においては、例えば
工場出荷時に、不揮発性メモリ15のADRS1に基線
長Qの設定値を格納し、ADRS2に距離fの設定値を
格納し、ADRS3のQ・fデータをクリアしている
(すなわち、「000…0」の値を格納している)。し
かして、ADRS3のQ・fデータがクリアされている
場合には、相関演算部14はADRS1及びADRS2
に格納されている基線長Q及び距離fの値を用い前記
式に基づいて被検知物体の距離Lを演算し、出力回路1
6から距離データを出力する。
In the distance measuring device 11, for example, at the time of factory shipment, the set value of the base length Q is stored in the ADRS1 of the nonvolatile memory 15, the set value of the distance f is stored in the ADRS2, and the Qf data of the ADRS3 is stored. Is cleared (that is, the value “000 ... 0” is stored). Then, when the Q · f data of ADRS3 is cleared, the correlation calculation unit 14 determines that ADRS1 and ADRS2
The distance L of the detected object is calculated based on the above equation using the values of the baseline length Q and the distance f stored in the output circuit 1
6 outputs distance data.

【0043】しかし、距離測定装置11を複数台製作し
た場合には、組み立て時の光学調整の誤差により、基線
長Q及び距離fの値は個々の製品毎にばらつくことにな
る。また、距離測定装置11の経年的な変化によって
も、基線長Q及び距離fの値のバラツキが次第に大きく
なる。したがって、各距離測定装置11毎にバラツキの
ある基線長Q及び距離fの値を計測し、その計測値を不
揮発性メモリ15に格納しておき、不揮発性メモリ15
に格納した固有の値を用いて被検知物体の距離を測定す
れば、光学調整のバラツキや経年変化を補償して測距精
度を高精度に維持することができる。
However, when a plurality of distance measuring devices 11 are manufactured, the values of the base line length Q and the distance f vary from product to product due to an error in optical adjustment during assembly. In addition, the variations in the values of the base line length Q and the distance f gradually increase due to the secular change of the distance measuring device 11. Therefore, the values of the baseline length Q and the distance f, which have variations, are measured for each distance measuring device 11, and the measured values are stored in the non-volatile memory 15.
If the distance of the object to be detected is measured using the unique value stored in, it is possible to maintain high range accuracy by compensating for variations in optical adjustment and aging.

【0044】距離測定装置11の基線長Qや距離fを較
正する第1の方法は、ノギス等の計測機器によってこれ
らの値を直接計測し、データ入力回路19から基線長Q
又は距離fの計測値を入力すると共に信号入力回路17
から同期信号(書き換えデータのアドレス指定情報を含
んでいてもよい)を入力するものである。同期信号を入
力すると、相関演算部14はデータ記憶モードに切り替
わり、データ入力回路19に入力された基線長Q又は距
離fの値を同期信号によって指定されたアドレス、すな
わち不揮発性メモリ15のADRS1又はADRS2に
格納し、Qデータ又はfデータを更新する。
The first method for calibrating the base line length Q and the distance f of the distance measuring device 11 is to directly measure these values with a measuring instrument such as a caliper and to measure the base line length Q from the data input circuit 19.
Alternatively, the measured value of the distance f is input and the signal input circuit 17
To input a synchronization signal (which may include rewriting data addressing information). When the synchronization signal is input, the correlation calculation unit 14 switches to the data storage mode, and the value of the baseline length Q or the distance f input to the data input circuit 19 is the address designated by the synchronization signal, that is, ADRS1 of the nonvolatile memory 15 or Store in ADRS2 and update Q data or f data.

【0045】しかし、前記式、つまりL=Q・f/D
から分かるように、ずれ量Dから被検知物体の距離Lを
求めるためには、基線長Qと距離fの積Q・fの値が分
かればよいので、基線長Qと距離fの個々の値を求める
必要はなく、Q・fの値を求めてADRS3に格納し、
このQ・fの値を用いて被検知物体の距離Lを演算する
ようにすればよい。すなわち、相関演算部14は、AD
RS3のQ・fデータがクリアされている場合には、A
DRS1のQデータ、ADRS2のfデータ及び画像の
ずれ量Dに基づいて被検知物体の距離Lを演算するが、
ADRS3にQ・fの値が格納されている場合には、A
DRS1のQデータとADRS2のfデータを用いるこ
となく、ADRS3に格納されているQ・fの値とずれ
量Dに基づいて被検知物体の距離Lを演算するようにな
っている。
However, the above equation, that is, L = Qf / D
As can be seen from the above, in order to obtain the distance L of the detected object from the displacement amount D, it is sufficient to know the value of the product Q · f of the base line length Q and the distance f, and therefore the individual values of the base line length Q and the distance f. It is not necessary to calculate, and the value of Qf is calculated and stored in ADRS3,
The distance L of the detected object may be calculated using the value of Q · f. That is, the correlation calculator 14
If Q / f data of RS3 is cleared, A
The distance L of the detected object is calculated based on the Q data of DRS1, the f data of ADRS2, and the image shift amount D.
When the value of Qf is stored in ADRS3, A
The distance L of the detected object is calculated based on the value of Q · f stored in the ADRS3 and the deviation amount D without using the Q data of the DRS1 and the f data of the ADRS2.

【0046】したがって、距離測定装置11を較正する
ためには、Q・fの値を求めてQ・fデータとして不揮
発性メモリ15のADRS3に格納するのが効率的であ
る。そのためには、基線長Qの計測値と距離fの計測値
から計算したQ・fの値を、上記第1の方法と同様にし
て、データ入力回路19から不揮発メモリのADRS3
へ書き込むことができるが、以下のようにして距離測定
装置11の機能を利用する方法が有効である。
Therefore, in order to calibrate the distance measuring device 11, it is efficient to obtain the value of Q · f and store it in the ADRS3 of the non-volatile memory 15 as Q · f data. For that purpose, the value of Q · f calculated from the measured value of the baseline length Q and the measured value of the distance f is changed from the data input circuit 19 to the ADRS3 of the nonvolatile memory in the same manner as the first method.
However, it is effective to use the function of the distance measuring device 11 as follows.

【0047】図7は距離測定装置11の基線長Qや距離
fの値を較正する第2の方法を説明するフロー図であ
る。この方法では、不揮発性メモリ15のADRS4に
予め測定距離L1の値(規定値)が格納されている。距
離測定装置11にQ・fデータを記憶させる場合には、
ADRS4に格納されている既定の測定距離L1に被検
知物体(サンプル)を配置し(S21)、その状態で信
号入力回路17へ同期信号を入力する。信号入力回路1
7が同期信号を受信すると(S22)、相関演算部14
はデータ記憶モードとなり、同期信号に同期して左右画
像のずれ量D1を検出する(S23)。ついで、ADR
S4に格納されている既定の測定距離L1を読み出し
(S24)、相関演算部14はこの測定距離L1と計測
したずれ量D1の値から、 Q・f=L1×D1 を演算する(S25)。ついで、相関演算部14は、求
めたQ・fの値を不揮発性メモリ15のADRS3に格
納し(S26)、距離演算モードに戻る(S27)。
FIG. 7 is a flow chart for explaining the second method for calibrating the values of the base line length Q and the distance f of the distance measuring device 11. In this method, the value (specified value) of the measurement distance L1 is stored in advance in the ADRS4 of the nonvolatile memory 15. When storing the Qf data in the distance measuring device 11,
An object to be detected (sample) is placed at a predetermined measurement distance L1 stored in the ADRS 4 (S21), and a synchronization signal is input to the signal input circuit 17 in that state. Signal input circuit 1
When 7 receives the synchronization signal (S22), the correlation calculator 14
Becomes the data storage mode, and the shift amount D1 between the left and right images is detected in synchronization with the synchronization signal (S23). Then, ADR
The predetermined measurement distance L1 stored in S4 is read (S24), and the correlation calculation unit 14 calculates Q · f = L1 × D1 from the measured distance L1 and the value of the measured shift amount D1 (S25). Then, the correlation calculation unit 14 stores the obtained Q · f value in the ADRS3 of the nonvolatile memory 15 (S26), and returns to the distance calculation mode (S27).

【0048】しかして、この方法によれば、距離測定装
置11自身の機能を用いて距離測定装置11のQ・fの
値を求めることができ、基準値Qや距離fが設計値から
ずれていたり、経年変化しているような場合でも、正し
い値を検出して補正することができる。従って、距離測
定装置11の計測精度を高精度に維持することができ
る。
However, according to this method, the value of Q · f of the distance measuring device 11 can be obtained by using the function of the distance measuring device 11 itself, and the reference value Q and the distance f are deviated from the designed values. Or, even if it has changed over time, a correct value can be detected and corrected. Therefore, the measurement accuracy of the distance measuring device 11 can be maintained with high accuracy.

【0049】なお、計測したQ・fの値をADRS3に
格納しても、ADRS1のQデータ及びADRS2のf
データはクリアされないので、ADRS3のQ・fデー
タとして異常な値が格納される場合には、クリアボタン
(図示せず)によってADRS3をクリアすることによ
り、ADRS1及びADRS2に格納されているQ及び
fの設定値を用いて被検知物体の距離を計測することが
できる。
Even if the measured Q · f value is stored in ADRS3, the Q data of ADRS1 and f of ADRS2 are stored.
Since the data is not cleared, if an abnormal value is stored as the Qf data of ADRS3, by clearing ADRS3 with the clear button (not shown), the Q and f stored in ADRS1 and ADRS2 It is possible to measure the distance of the detected object using the setting value of.

【0050】上記第1の方法では、測定距離L1(既定
値)は不揮発性メモリ15に格納されていたので、必要
に応じて測定距離L1の新たな値をデータ入力回路19
へ送って信号入力回路17に同期信号を入力することに
より、ADRS4の測定距離L1の値を新たな値に書き
換えることができる。あるいは、図6のADRS4、A
DRS5、…に示すように、複数の測定距離L1、L
2、…を不揮発性メモリ15に格納しておけば、プログ
ラムのアドレス指定を変更することにより、データ記憶
モード時にサンプルとして被検知物体を置く位置を変更
することができる。
In the first method, the measurement distance L1 (default value) is stored in the non-volatile memory 15. Therefore, a new value of the measurement distance L1 may be stored in the data input circuit 19 if necessary.
By sending the synchronization signal to the signal input circuit 17, the value of the measurement distance L1 of the ADRS 4 can be rewritten to a new value. Alternatively, ADRS4, A in FIG.
As shown in DRS5, ..., a plurality of measurement distances L1, L
By storing 2, ... In the non-volatile memory 15, it is possible to change the position where the object to be detected is placed as a sample in the data storage mode by changing the addressing of the program.

【0051】また、データ記憶モードで用いる測定距離
L1の値は、Q・fデータを記憶させるための実行プロ
グラム(例えば、マイクロプロセッサ内のプログラム)
中に書き込んでおくこともできる。この場合には、測定
距離L1の値を変更することができないが、たとえば生
産工場の出荷検査などで標準となる被検知物体を測定距
離L1に置き、同期信号を入力することによって個々の
距離測定装置11の調整を行なう場合には、誤調整を防
ぐうえで好ましい。
The value of the measurement distance L1 used in the data storage mode is the execution program for storing the Qf data (for example, the program in the microprocessor).
You can also write it inside. In this case, the value of the measurement distance L1 cannot be changed, but an object to be detected that is a standard in shipping inspection of a production factory is placed at the measurement distance L1 and a synchronization signal is input to measure individual distances. When the device 11 is adjusted, it is preferable to prevent erroneous adjustment.

【0052】図8は距離測定装置11の基線長Qや距離
fの値を較正する第3の方法を説明するフロー図であ
る。この方法では、不揮発性メモリ15に予め測定距離
L1等が格納されている必要はない。第3の方法で距離
測定装置11にQ・fデータを記憶させる場合には、被
検知物体を任意の距離Lxに配置し(S31)、その状
態でデータ入力回路19へ距離データとして距離Lxの
値を入力すると共に信号入力回路17へ同期信号を入力
する。信号入力部17が同期信号を受信すると(S3
2)、相関演算部14はデータ記憶モードとなり、同期
信号に同期して入力された距離Lxの値を読み取り(S
33)、左右画像のずれ量Dxを検出する(S34)。
ついで、相関演算部14は入力された距離Lxと計測し
たずれ量Dxの値から、 Q・f=Lx×Dx を演算し(S35)、求めたQ・fの値を不揮発性メモ
リ15のADRS3に格納し(S36)、距離演算モー
ドに戻る(S37)。
FIG. 8 is a flow chart for explaining the third method for calibrating the values of the base line length Q and the distance f of the distance measuring device 11. In this method, the measurement distance L1 and the like need not be stored in the non-volatile memory 15 in advance. When storing the Qf data in the distance measuring device 11 by the third method, the detected object is placed at an arbitrary distance Lx (S31), and in that state, the distance Lx of the distance Lx is stored as distance data in the data input circuit 19. A value is input and a synchronization signal is input to the signal input circuit 17. When the signal input unit 17 receives the synchronization signal (S3
2), the correlation calculation unit 14 enters the data storage mode and reads the value of the distance Lx input in synchronization with the synchronization signal (S
33), the shift amount Dx between the left and right images is detected (S34).
Then, the correlation calculation unit 14 calculates Q · f = Lx × Dx from the input distance Lx and the value of the measured displacement amount Dx (S35), and calculates the obtained Q · f value in ADRS3 of the nonvolatile memory 15. (S36) and returns to the distance calculation mode (S37).

【0053】第3の方法では、任意の位置に被検知物体
を置くことができるので、距離測定装置11の設置後に
経年変化を補正する場合などに好ましい。被検知物体の
距離が分からない場合には、例えばレーザーレーダーの
ような別の測距手段があれば、その測距手段からの距離
出力をデータ入力回路19へ入力し、信号入力回路17
へ同期信号を入力してデータ記憶させることができる。
In the third method, the object to be detected can be placed at any position, which is preferable when correcting the secular change after the distance measuring device 11 is installed. If the distance to the object to be detected is unknown, if there is another distance measuring means such as a laser radar, the distance output from the distance measuring means is input to the data input circuit 19, and the signal input circuit 17
Data can be stored by inputting a synchronization signal to the.

【0054】図9は距離測定装置11の基線長Qや距離
fの値を較正する第4の方法を説明するフロー図であ
る。この方法はずれ量Dの測定誤差が予想されるような
場合に好適なものであって、不揮発性メモリ15のAD
RS4、ADRS5、…に予め複数の測定距離L1、L
2、…が格納されており、複数のずれ量D1、D2、…
から求めたQ・fの平均値を不揮発性メモリ15に格納
する。
FIG. 9 is a flow chart for explaining the fourth method for calibrating the values of the base line length Q and the distance f of the distance measuring device 11. This method is suitable when a measurement error of the deviation amount D is expected, and the AD of the non-volatile memory 15 is used.
A plurality of measurement distances L1 and L are previously set to RS4, ADRS5, ....
, ... are stored, and a plurality of shift amounts D1, D2 ,.
The average value of Q · f calculated from is stored in the non-volatile memory 15.

【0055】第4の方法により距離測定装置11にQ・
fデータを記憶させる場合には、ADRS4に格納され
ている既定の測定距離L1に被検知物体を配置し(S4
1a、S42)、その状態で信号入力回路17へ同期信
号を入力する。信号入力回路17が同期信号を受信する
と(S43)、相関演算部14はデータ記憶モードとな
り、同期信号に同期して左右画像のずれ量D1を検出す
る(S44)。ついで、相関演算部14は、不揮発性メ
モリ15から測定距離L1の値を読み出し(S45)、
測定距離L1と計測したずれ量D1の値から、 Q・f=L1×D1 を演算し、その結果をメモリ内の適当な位置に記憶する
(S46)。
According to the fourth method, Q.
To store the f data, the detected object is placed at the predetermined measurement distance L1 stored in the ADRS4 (S4
1a, S42), the synchronizing signal is input to the signal input circuit 17 in that state. When the signal input circuit 17 receives the synchronization signal (S43), the correlation calculator 14 enters the data storage mode and detects the shift amount D1 between the left and right images in synchronization with the synchronization signal (S44). Then, the correlation calculation unit 14 reads the value of the measurement distance L1 from the non-volatile memory 15 (S45),
From the measured distance L1 and the value of the measured displacement amount D1, Q · f = L1 × D1 is calculated, and the result is stored in an appropriate position in the memory (S46).

【0056】つぎに、ADRS5に格納されている既定
の測定距離L2に被検知物体を配置し(S47、S41
b、S42)、その状態で信号入力回路17へ同期信号
を入力する。信号入力回路17が同期信号を受信すると
(S43)、相関演算部14はデータ記憶モードとな
り、同期信号に同期して左右画像のずれ量D2を検出す
る(S44)。ついで、相関演算部14は不揮発性メモ
リ15から測定距離L2の値を読み出し、測定距離L1
と計測したずれ量D2の値から、 Q・f=L2×D2 を演算し、その結果をメモリ内の適当な位置に記憶する
(S46)。
Next, the object to be detected is placed at the predetermined measurement distance L2 stored in the ADRS 5 (S47, S41).
b, S42), the synchronizing signal is input to the signal input circuit 17 in that state. When the signal input circuit 17 receives the synchronization signal (S43), the correlation calculator 14 enters the data storage mode and detects the shift amount D2 between the left and right images in synchronization with the synchronization signal (S44). Then, the correlation calculation unit 14 reads the value of the measurement distance L2 from the non-volatile memory 15, and measures the measurement distance L1.
Then, Q · f = L2 × D2 is calculated from the value of the deviation amount D2 measured as follows, and the result is stored in an appropriate position in the memory (S46).

【0057】このようにして不揮発性メモリ15に格納
されている設定距離L1、L2、…の数だけ上記処理を
繰り返してそれぞれについてQ・fの値を求めた後、相
関演算部14は、それらのQ・fの平均値(相加平均、
相乗平均など)を求め(S48)、Q・fの平均値を不
揮発性メモリ15のADRS3に格納し(S49)、距
離演算モードに戻る(S50)。
In this way, after the above processing is repeated for the number of set distances L1, L2, ... Stored in the non-volatile memory 15 to obtain the value of Qf for each of them, the correlation calculation unit 14 Average value of Qf (arithmetic mean,
(Symmetric average etc.) is obtained (S48), the average value of Q · f is stored in ADRS3 of the non-volatile memory 15 (S49), and the distance calculation mode is returned to (S50).

【0058】こうしてQ・fの平均値を不揮発性メモリ
15に格納することにより、ずれ量Dのバラツキによる
誤差を小さくすることができる。
By storing the average value of Q · f in the non-volatile memory 15 in this way, the error due to the variation of the deviation amount D can be reduced.

【0059】図10に示すように、横軸を距離の逆数1
/Lとし、縦軸をずれ量Dとしたとき、距離Lに位置す
る被検知物体の画像のずれ量Dの測定点と原点とを結ん
だ直線の傾きがQ・fの値となる。上記第4の方法は、
ずれ量Dの測定点のバラツキによってばらついた傾き、
すなわちQ・fの値を平均するものである。これに対
し、例えば測定距離L1におけるずれ量がD1で、測定
距離L2におけるずれ量がD2の場合には、図11に示
すように、2つの測定点を結んだ直線の傾きとして、下
記の式よりQ・fの値を求めることもできる。 Q・f=(D2−D1)/(1/L2−1/L1) =L1・L2(D2−D1)/(L1−L2)
As shown in FIG. 10, the horizontal axis represents the reciprocal 1 of the distance.
/ L and the vertical axis is the shift amount D, the slope of the straight line connecting the measurement point of the shift amount D of the image of the detected object located at the distance L and the origin is the value of Qf. The above fourth method is
Inclination that varies due to variations in the measurement point of the deviation amount D,
That is, the value of Qf is averaged. On the other hand, for example, when the deviation amount at the measurement distance L1 is D1 and the deviation amount at the measurement distance L2 is D2, as shown in FIG. 11, the inclination of the straight line connecting the two measurement points is expressed by the following formula. It is also possible to obtain the value of Q · f. Q · f = (D2-D1) / (1 / L2-1 / L1) = L1 · L2 (D2-D1) / (L1-L2)

【0060】なお、上記実施形態の説明では、同期信号
を信号入力部17へ入力することによって相関演算部1
4をデータ記憶モードに切り替え、同期信号と同期させ
てデータが更新されていたが、距離測定装置11に設け
られている外部スイッチ18を押してオンにしても相関
演算部14がデータ記憶モードに切り替わり、外部スイ
ッチ18のオンと同期してデータが更新される。
In the description of the above embodiment, the correlation calculation unit 1 is operated by inputting the synchronization signal to the signal input unit 17.
4 was switched to the data storage mode and the data was updated in synchronization with the synchronization signal, but even if the external switch 18 provided in the distance measuring device 11 is pressed to turn it on, the correlation calculation unit 14 switches to the data storage mode. , The data is updated in synchronization with the turning on of the external switch 18.

【0061】(第2の実施形態)図12は本発明の別な
実施形態による距離測定装置51の構成を示す図であ
る。この距離測定装置51にあっては、相関演算部14
を距離演算モードとデータ記憶モードとに切り替えるた
めのモード切り替えスイッチ52を備えている。しかし
て、このモード切り替えスイッチ52をデータ記憶モー
ドに設定すると、信号入力回路17に同期信号が入力さ
れたとき〔あるいは、外部スイッチ18がオンになった
とき〕、不揮発性メモリ15のQ・fデータ等が書き換
えられる。一方、モード切り替えスイッチ52が距離演
算モードとなっている場合には、同期信号が入力された
り、外部スイッチ18がオンされたりしても、不揮発性
メモリ15のデータは書き換えられない。
(Second Embodiment) FIG. 12 is a view showing the arrangement of a distance measuring device 51 according to another embodiment of the present invention. In the distance measuring device 51, the correlation calculating unit 14
Is provided with a mode switch 52 for switching between the distance calculation mode and the data storage mode. Therefore, when the mode changeover switch 52 is set to the data storage mode, when the synchronizing signal is input to the signal input circuit 17 (or when the external switch 18 is turned on), Qf of the nonvolatile memory 15 is set. Data etc. are rewritten. On the other hand, when the mode changeover switch 52 is in the distance calculation mode, the data in the non-volatile memory 15 cannot be rewritten even if a synchronization signal is input or the external switch 18 is turned on.

【0062】(第3の実施形態)図13は本発明のさら
に別な実施形態による距離測定装置53の構成を示す図
である。この実施形態による測定装置53は、位置関係
データの設計値(基礎データ)を格納した基礎データ用
メモリ54と、位置関係データの設計値からの位置ずれ
値(補正データ)を格納する補正データ用メモリ55を
備えている。基礎データ用メモリ54と補正データ用メ
モリ55は同じメモリ素子の異なる領域であってもよ
く、基礎データ用メモリ54がROMで、補正データ用
メモリ55はE2PROMやRAMなどの別なメモリ素
子であってもよい。距離演算モードにおいては、相関演
算部14は、光検出器13aから出力される左画像と光
検出器13bから出力される右画像のずれ量Dを求め、
基礎データ用メモリ54内の基礎データと補正データ用
メモリ55内の補正データに基づいて該ずれ量Dに対応
する被検知物体までの距離Lを演算する。また、データ
記憶モードにおいては、相関演算部14は、後述のよう
に左右画像のずれ量Dを求め、該ずれ量Dに基づいてレ
ンズ12a,12b間の基線長Qやレンズ12a,12
bと光検出器13a,13bの間の距離fの位置ずれ値
を求め、演算された基線長Qや距離fの位置ずれ値、あ
るいは、直接に入力された基線長Qや距離fの位置ずれ
値を不揮発性メモリ15に格納する。
(Third Embodiment) FIG. 13 is a diagram showing the structure of a distance measuring device 53 according to still another embodiment of the present invention. The measuring device 53 according to this embodiment includes a basic data memory 54 that stores design values (basic data) of positional relationship data and correction data that stores positional deviation values (correction data) from the design values of positional relationship data. A memory 55 is provided. The basic data memory 54 and the correction data memory 55 may be different areas of the same memory device. The basic data memory 54 is a ROM and the correction data memory 55 is another memory device such as an E 2 PROM or RAM. May be In the distance calculation mode, the correlation calculation unit 14 obtains the shift amount D between the left image output from the photodetector 13a and the right image output from the photodetector 13b,
Based on the basic data in the basic data memory 54 and the correction data in the correction data memory 55, the distance L to the detected object corresponding to the deviation amount D is calculated. Further, in the data storage mode, the correlation calculation unit 14 obtains the shift amount D between the left and right images as described later, and based on the shift amount D, the baseline length Q between the lenses 12a and 12b and the lenses 12a and 12b.
b, the displacement value of the distance f between the photodetectors 13a and 13b is calculated, and the calculated displacement value of the baseline length Q or the distance f, or the displacement of the directly input baseline length Q or the distance f. The value is stored in the non-volatile memory 15.

【0063】図14(a)は基礎データ用メモリ54内
のデータ内容を示すメモリマップ、図14(b)は補正
データ用メモリ55内のデータ内容を示すメモリマップ
である。基礎データ用メモリ54内には、図14(a)
に示すように、基礎データとして工場出荷時に、例えば
アドレスADRS11とADRS12に基線長の設計値
0と距離fの設計値f0が格納され、あるいは、ADR
S13にQ・fの設計値[Q・f]0が格納されてい
る。また、補正データ用メモリ55内には、図14
(b)に示すように、補正データとして、例えばアドレ
スADRS21には基線長Qの設計値からの位置ずれ値
を格納でき、ADRS2には距離fの設計値からの位置
ずれ値を格納でき、ADRS3にはQ・fの設計値から
の位置ずれ値を格納できるようになっている。さらに、
補正データ用メモリ5のADRS4には被検知物体の測
定距離の規定値L1を格納し、さらに必要に応じてAD
RS5以下には被検知物体の測定距離の異なる規定値L
2などを順次格納するようになっている。
FIG. 14A is a memory map showing the data contents in the basic data memory 54, and FIG. 14B is a memory map showing the data contents in the correction data memory 55. In the basic data memory 54, FIG.
As shown in, as basic data in the factory, the design value f 0 of the design value Q 0 and the distance f of the baseline length is stored in for example address ADRS11 and ADRS12, or, ADR
The design value [Q · f] 0 of Q · f is stored in S13. Further, in the correction data memory 55, FIG.
As shown in (b), as the correction data, for example, the address ADRS21 can store the displacement value from the design value of the base length Q, the ADRS2 can store the displacement value from the design value of the distance f, and the ADRS3. The position deviation value from the design value of Qf can be stored in. further,
A specified value L1 of the measured distance of the object to be detected is stored in ADRS4 of the correction data memory 5, and further AD is stored if necessary.
Below RS5, a specified value L with a different measurement distance of the detected object
2 and the like are sequentially stored.

【0064】ここで位置ずれ値とは、実際の値と設計値
との差でもよく、実際の値と設計値との比でもよい。例
えば、基線長の実際値をQ、設計値をQ0とすると、位
置ずれ値としては、差の形式の ΔQ=Q−Q0 を用いてもよく、比の形式の KQ=Q/Q0 を用いてもよい。
Here, the positional deviation value may be a difference between an actual value and a design value, or a ratio between the actual value and the design value. For example, assuming that the actual value of the baseline length is Q and the design value is Q 0 , ΔQ = Q−Q 0 in the form of difference may be used as the displacement value, and K Q = Q / Q in the form of ratio. You may use 0 .

【0065】差による位置ずれ値を用いる場合には、基
線長の実際値Qは、基礎データ用メモリ54内の設計値
0と補正データ用メモリ55内の位置ずれ値ΔQを用
いて Q=Q0+ΔQ と表わされる。また、比による位置ずれ値を用いる場合
には、基線長の実際値Qは、基礎データ用メモリ54内
の設計値Q0と補正データ用メモリ55内の位置ずれ値
Qを用いて Q=KQ・Q0 と表わされる。同様に、距離fやQ・fについても、差
による位置ずれ値はΔf、ΔQ・fと記載し、比による
位置ずれ値はKf、KQ・fと記載することにする。
When the positional deviation value due to the difference is used, the actual value Q of the base line length is calculated using the design value Q 0 in the basic data memory 54 and the positional deviation value ΔQ in the correction data memory 55. It is expressed as Q 0 + ΔQ. When using the positional deviation value based on the ratio, the actual value Q of the base line length is calculated by using the design value Q 0 in the basic data memory 54 and the positional deviation value K Q in the correction data memory 55. It is expressed as K Q · Q 0 . Similarly, with respect to the distances f and Q · f, the positional deviation values due to the difference will be described as Δf and ΔQ · f, and the positional deviation values due to the ratio will be described as K f and K Q · f .

【0066】まず、位置関係データを較正する第1の方
法は、基線長Qと距離fを実測し、その実測値の設計値
0、f0からの位置ずれ値ΔQ、Δfを装置外部で計算
した後、これらの位置ずれ値ΔQ、Δfをデータ入力回
路19を通して補正データ用メモリ55に格納する方法
である。
First, the first method of calibrating the positional relationship data is to measure the base line length Q and the distance f, and to obtain the positional deviation values ΔQ and Δf from the design values Q 0 and f 0 of the measured values outside the device. After the calculation, these positional deviation values ΔQ and Δf are stored in the correction data memory 55 through the data input circuit 19.

【0067】図15は、基線長Qの場合について、この
第1の方法を説明している。すなわち、データ入力回路
19に基線長の位置ずれ値ΔQを送信し、信号入力回路
17に同期信号を入力する。信号入力回路17が同期信
号を受信すると(S57)、相関演算部14はデータ記
憶モードに切り替わり、基線長の位置ずれ値ΔQをデー
タ入力回路19から読み込んで(S58)補正データ用
メモリ55の指定アドレス(ADRS21)に格納し
(S59)、距離演算モードに戻る(S60)。同様に
して、補正データ用メモリ55のADRS22には距離
fの位置ずれ値Δfが格納される。
FIG. 15 illustrates this first method for the case of a baseline length Q. That is, the positional deviation value ΔQ of the baseline length is transmitted to the data input circuit 19, and the synchronization signal is input to the signal input circuit 17. When the signal input circuit 17 receives the synchronization signal (S57), the correlation calculator 14 switches to the data storage mode, reads the positional deviation value ΔQ of the baseline length from the data input circuit 19 (S58), and specifies the correction data memory 55. It is stored in the address (ADRS21) (S59), and the process returns to the distance calculation mode (S60). Similarly, the misregistration value Δf of the distance f is stored in the ADRS 22 of the correction data memory 55.

【0068】こうして、補正データ用メモリ55に位置
ずれ値ΔQ、Δfが補正データとして格納されると、距
離測定装置53は、図16に示すようにして被検知物体
までの距離を演算する。距離測定装置53が測距を開始
すると、相関演算部14は基礎データ用メモリから基線
長の設計値Q0と距離fの設計値f0を読み出し(S6
1)、補正データ用メモリから基線長の位置ずれ値ΔQ
と距離fの位置ずれ値Δfを読み出し(S62)、光検
出器13a,13bから供給された両画像のずれ量Dを
検出する(S63)。ついで、相関演算部14は、演算
に用いる基線長の値Q=Q0+ΔQと距離fの値f=f0
+Δfを求め、これらの値を用いて被検知物体の距離L
=Q・f/Dを演算し(S64)、求めた被検知物体の
距離Lを出力回路16から出力する(S65)。従っ
て、Q・fの補正された値を用いて精確に被検知物体の
距離Lを測距することができる。
When the positional deviation values ΔQ and Δf are thus stored as correction data in the correction data memory 55, the distance measuring device 53 calculates the distance to the detected object as shown in FIG. When the distance measuring device 53 starts the distance measurement, the correlation calculator 14 reads the design value Q 0 of the base line length and the design value f 0 of the distance f from the basic data memory (S6).
1), the offset value ΔQ of the baseline length from the correction data memory
And the positional deviation value Δf of the distance f are read (S62), and the deviation amount D of both images supplied from the photodetectors 13a and 13b is detected (S63). Next, the correlation calculation unit 14 uses the value Q = Q 0 + ΔQ of the base line length and the value f = f 0 of the distance f used for the calculation.
+ Δf is calculated, and the distance L of the detected object is calculated using these values.
= Q · f / D is calculated (S64), and the obtained distance L of the detected object is output from the output circuit 16 (S65). Therefore, the distance L of the detected object can be accurately measured using the corrected value of Q · f.

【0069】なお、ここでは、差による位置ずれ値を用
いたが、比による位置ずれ値KQ、Kfを求めて補正デー
タ用メモリ55に格納してもよいことはもちろんであ
る。比による位置ずれ値を用いる場合には、設計値Q0
とf0を用いてずれ量Dに対応する距離L0=(Q0
0)/Dを演算した後、各比を乗じてL=KQ・Kf
0を測距値として出力すればよく、補正処理が容易に
なる。
It should be noted that, although the positional deviation value due to the difference is used here, it goes without saying that the positional deviation values K Q and K f due to the ratio may be obtained and stored in the correction data memory 55. When the positional deviation value by the ratio is used, the design value Q 0
And f 0 , the distance L 0 = (Q 0 ·
After calculating f 0 ) / D, each ratio is multiplied to obtain L = K Q · K f ·
It suffices to output L 0 as the distance measurement value, which facilitates the correction process.

【0070】図17は距離測定装置53の基線長Qや距
離fの値を較正する第2の方法を説明するフロー図であ
る。この方法では、補正データ用メモリ55のADRS
24に格納されている測定距離L1に被検知物体を配置
し(S66)、その状態で信号入力回路17へ同期信号
を入力する。信号入力回路17が同期信号を受信すると
(S67)、相関演算部14はデータ記憶モードとな
り、同期信号に同期して左右画像のずれ量D1を検出す
る(S68)。ついで、相関演算部14は、ADRS2
4に格納されている既定の測定距離L1を読み出し(S
69)、基礎データ(例えば、[Q・f]0)及び測定
距離L1の値を用いて、計測したずれ量D1の値から、
位置ずれ値 KQ・f=(L1・D1)/[Q・f]0 を求める(S70)。ついで、相関演算部14は、求め
たQ・fの位置ずれ値KQ・fを補正データ用メモリ55
のADRS23に格納し(S71)、距離演算モードに
戻る(S72)。
FIG. 17 is a flow chart for explaining the second method for calibrating the values of the base line length Q and the distance f of the distance measuring device 53. In this method, the ADRS of the correction data memory 55 is
An object to be detected is placed at the measurement distance L1 stored in 24 (S66), and a synchronization signal is input to the signal input circuit 17 in that state. When the signal input circuit 17 receives the sync signal (S67), the correlation calculator 14 enters the data storage mode and detects the shift amount D1 between the left and right images in synchronization with the sync signal (S68). Then, the correlation calculation unit 14 calculates the ADRS2
The predetermined measurement distance L1 stored in 4 is read (S
69), the basic data (for example, [Q · f] 0 ) and the value of the measurement distance L1, from the value of the measured shift amount D1,
The positional deviation value K Q · f = (L1 · D1) / [Q · f] 0 is calculated (S70). Next, the correlation calculation unit 14 uses the calculated positional deviation value KQ · f of Q · f as the correction data memory 55.
Stored in the ADRS 23 (S71), and returns to the distance calculation mode (S72).

【0071】しかして、この方法によれば、距離測定装
置53自身の機能を用いて距離測定装置53のQ・fの
値を求めることができ、基準値Qや距離fが設計値から
ずれていたり、経年変化しているような場合でも、正し
い値を検出して補正することができる。従って、距離測
定装置53の計測精度を高精度に維持することができ
る。なお、この方法でも差による位置ずれ値を用いても
よいことはもちろんである。
According to this method, however, the value of Q · f of the distance measuring device 53 can be obtained by using the function of the distance measuring device 53 itself, and the reference value Q and the distance f are deviated from the designed values. Or, even if it has changed over time, a correct value can be detected and corrected. Therefore, the measurement accuracy of the distance measuring device 53 can be maintained with high accuracy. Of course, this method may also use the positional deviation value due to the difference.

【0072】図18は距離測定装置53の基線長Qや距
離fの値を較正する第3の方法を説明するフロー図であ
る。この方法では、被検知物体を任意の距離Lxに配置
し(S73)、その状態でデータ入力回路19へ距離デ
ータとして距離Lxの値を入力すると共に信号入力回路
17へ同期信号を入力する。信号入力部17が同期信号
を受信すると(S74)、相関演算部14はデータ記憶
モードとなり、同期信号に同期して入力された距離Lx
の値を読み取り(S75)、左右画像のずれ量Dxを検
出する(S76)。ついで、相関演算部14は、相関演
算部14は、基礎データ(例えば、[Q・f]0)及び
読み込んだ距離Lxを用いて、計測したずれ量Dxの値
から、位置ずれ値 KQ・f=(Lx・Dx)/[Q・f]0 を求める(S77)。ついで、相関演算部14は、求め
たQ・fの位置ずれ値KQ・fの値を補正データ用メモリ
55のADRS23に格納し(S78)、距離演算モー
ドに戻る(S79)。
FIG. 18 is a flow chart for explaining the third method for calibrating the values of the base line length Q and the distance f of the distance measuring device 53. In this method, the object to be detected is arranged at an arbitrary distance Lx (S73), and in that state, the value of the distance Lx is input as distance data to the data input circuit 19 and the synchronization signal is input to the signal input circuit 17. When the signal input unit 17 receives the synchronization signal (S74), the correlation calculation unit 14 enters the data storage mode, and the distance Lx input in synchronization with the synchronization signal.
Is read (S75), and the shift amount Dx between the left and right images is detected (S76). Then, the correlation calculation unit 14 uses the basic data (for example, [Q · f] 0 ) and the read distance Lx to calculate the position shift value K Q · from the value of the measured shift amount Dx. f = (Lx · Dx) / [Q · f] 0 is calculated (S77). Then, the correlation calculation unit 14 stores the obtained value of the Q · f positional deviation value KQ · f in the ADRS 23 of the correction data memory 55 (S78), and returns to the distance calculation mode (S79).

【0073】第3の方法では、任意の位置に被検知物体
を置くことができるので、距離測定装置53の設置後に
経年変化を補正する場合などに好ましい。被検知物体の
距離が分からない場合には、例えばレーザーレーダーの
ような別の測距手段があれば、その測距手段からの距離
出力をデータ入力回路19へ入力し、信号入力回路17
へ同期信号を入力してデータ記憶させることができる。
In the third method, the object to be detected can be placed at any position, which is preferable when correcting the secular change after the distance measuring device 53 is installed. If the distance to the object to be detected is unknown, if there is another distance measuring means such as a laser radar, the distance output from the distance measuring means is input to the data input circuit 19, and the signal input circuit 17
Data can be stored by inputting a synchronization signal to the.

【0074】また、フロー図は示さないが、補正データ
用メモリに格納された複数の測定距離L1,L2,…に
対応してQ・fの複数の位置ずれ値を求め、これらのQ
・fの値の平均値を補正用データとして補正データ用メ
モリに格納してもよいことはいうまでもない。
Although not shown in the flow chart, a plurality of positional deviation values of Q · f are obtained corresponding to a plurality of measurement distances L1, L2, ...
It goes without saying that the average value of the values of f may be stored in the correction data memory as correction data.

【0075】(第4の実施形態)図19は本発明の別な
実施形態による距離測定装置56の構成を示す図であ
る。この距離測定装置56は、図13の距離測定装置5
3において、モード切り替えスイッチ52を設けたもの
である。従って、この距離測定装置56にあっても、図
12の距離測定装置51と同様、モード切り替えスイッ
チ52がデータ記憶モードに切り替わっている場合にの
み、同期信号入力〔あるいは、外部スイッチ18のオ
ン〕と同期して補正データ用メモリ55内の各データが
書き換えられる。
(Fourth Embodiment) FIG. 19 is a diagram showing the structure of a distance measuring device 56 according to another embodiment of the present invention. This distance measuring device 56 corresponds to the distance measuring device 5 of FIG.
3, the mode changeover switch 52 is provided. Therefore, even in the distance measuring device 56, as in the distance measuring device 51 of FIG. 12, the synchronization signal is input [or the external switch 18 is turned on] only when the mode changeover switch 52 is switched to the data storage mode. Each data in the correction data memory 55 is rewritten in synchronization with.

【0076】なお、上記実施形態においては、もっぱら
距離測定装置の場合について説明したが、本発明の測定
装置は距離測定装置に限るものでないことは、その技術
的内容からも明らかである。
In the above embodiments, the case of the distance measuring device has been mainly described, but it is clear from the technical contents that the measuring device of the present invention is not limited to the distance measuring device.

【0077】(安全走行システム)つぎに、本発明の距
離測定装置を搭載した車両について説明する。車両用に
用いる距離測定装置では、最も接近している被検知物体
(直前の前方車両や障害物等)を検出する必要があるの
で、視野範囲内に複数の被検知物体が存在する場合に
は、最も近い被検知物体までの距離を検出して出力する
ように設定している。距離測定装置の取付場所は特に限
定されるものでなく、用途に応じて任意の場所に取り付
けることができる。例えば、ルームミラー背面やダッシ
ュボード上など車室内に取り付けてもよく、車両前面の
バンパーやフロントグリル部など車室外に取り付けても
よい。また、車両後方や車両側方などを監視するように
取り付けてもなんら問題はない。
(Safety Driving System) Next, a vehicle equipped with the distance measuring device of the present invention will be described. In a distance measuring device used for a vehicle, it is necessary to detect the closest object to be detected (the preceding vehicle in front, an obstacle, etc.), so when there are multiple objects to be detected within the visual field range, , Is set to detect and output the distance to the closest detected object. The mounting location of the distance measuring device is not particularly limited, and it can be mounted at any location according to the application. For example, it may be mounted inside the vehicle such as on the back of the rearview mirror or on the dashboard, or outside the vehicle such as a bumper or front grille on the front of the vehicle. In addition, there is no problem even if it is installed so as to monitor the rear of the vehicle or the side of the vehicle.

【0078】図20及び図21はこのような車両81の
一実施例を示す側面図及び車室内を示す図であって、ル
ームミラー82の背面に距離測定装置83を取り付け、
車速表示メーター84の付近に距離表示装置85を取り
付けている。しかして、距離測定装置83によって車両
81の前方の視野内の被検知物体(例えば前方車両86
など)までの距離を測定し、前方の被検知物体までの距
離を距離表示装置85にリアルタイムで表示することに
より、運転者に被検知物体までの距離を報知する。従っ
て、運転者は感に頼ることなく、確実に安全な車間距離
を保って運転することができ、錯覚や運転疲労等で車間
距離を詰め過ぎることによる事故を防止できる。
20 and 21 are a side view and an interior view showing an embodiment of such a vehicle 81, in which a distance measuring device 83 is attached to the rear surface of the room mirror 82.
A distance display device 85 is attached near the vehicle speed display meter 84. Then, the distance measuring device 83 is used to detect a detected object in the field of view in front of the vehicle 81 (for example, the front vehicle 86
The distance to the object to be detected in front is displayed in real time on the distance display device 85 to notify the driver of the distance to the object to be detected. Therefore, the driver can reliably drive while keeping a safe inter-vehicle distance without relying on the feeling, and it is possible to prevent an accident due to an excessively short inter-vehicle distance due to an illusion or driving fatigue.

【0079】従来の位相差相関法による距離測定装置を
用いた場合には、遠方の被検知物体(例えば、1台おい
て前方の車両)や背景までの距離を算出する危険性があ
ったが、本発明による距離測定装置では、最も近い被検
知物体までの距離を確実に算出することができるので、
前方車両との車間距離を検出する車間距離表示システム
として使用できるだけでなく、以下に説明するような追
突防止システムや視界補助システム等にも安全に利用す
ることができる。
When a conventional distance measuring device using the phase difference correlation method is used, there is a risk of calculating the distance to a distant object to be detected (for example, a vehicle ahead of one vehicle) or the background. In the distance measuring device according to the present invention, the distance to the closest detected object can be reliably calculated,
Not only can it be used as an inter-vehicle distance display system that detects the inter-vehicle distance to a vehicle in front, but it can also be safely used in a rear-end collision prevention system, a visual field assistance system, and the like as described below.

【0080】図22は本発明による距離測定装置83を
用いた追突防止システム87を搭載した車両81を示す
側面図である。本発明の距離測定装置83は、例えば車
室内のルームミラー82の裏側に取り付けられており、
車両81前方の地面上方に視野を設定されている。ま
た、運転席には、ブザーやアラーム等の警報装置90が
設けられている。当該追突防止システム87は図23に
示すように構成されており、距離測定装置83によって
検出されている前方車両86までの車間距離を示す情報
と、速度センサ88によって検出されている運転中の車
両の速度(自車速度)を示す情報とが追突防止用制御部
89に入力されており、追突防止用制御部89は前方車
両86までの車間距離と自車速度とに基づいて危険度を
判断し、警報装置90をオンにし、あるいはブレーキ装
置91を作動させて車両81に制動を掛ける。
FIG. 22 is a side view showing a vehicle 81 equipped with a rear-end collision prevention system 87 using the distance measuring device 83 according to the present invention. The distance measuring device 83 of the present invention is attached to the back side of the room mirror 82 in the vehicle interior,
The field of view is set above the ground in front of the vehicle 81. Further, a warning device 90 such as a buzzer or an alarm is provided in the driver's seat. The rear-end collision prevention system 87 is configured as shown in FIG. 23, and includes information indicating the inter-vehicle distance to the forward vehicle 86 detected by the distance measuring device 83 and the vehicle in operation detected by the speed sensor 88. The information indicating the speed of the vehicle (vehicle speed) is input to the rear-end collision prevention control unit 89, and the rear-end collision prevention control unit 89 determines the degree of danger based on the inter-vehicle distance to the preceding vehicle 86 and the own vehicle speed. Then, the alarm device 90 is turned on or the brake device 91 is activated to brake the vehicle 81.

【0081】図24は追突防止用制御部89による危険
度判断方法を図示したものであって、横軸は速度センサ
88によって監視されている自車速度、縦軸は距離測定
装置83によって検出されている前方車両との車間距離
である。図24において、C1は許容領域、C2は低度危
険領域、C3は高度危険領域であって、これら領域の境
界は自車速度と車間距離との関数として定められる。許
容領域C1では追突防止システム87は作動しないが、
低度危険領域C2に侵入するとまず警報装置90がオン
となって運転者にブザーやアラーム等による警報が発せ
られ、さらに高度危険領域C3に侵入すると、自動的に
ブレーキ装置91が作動し、車両81を強制的に減速も
しくは急停止させる。従って、運転者の不注意や居眠り
等による追突事故を防止できる。
FIG. 24 shows a method of judging the degree of danger by the rear-end collision prevention control section 89. The horizontal axis indicates the vehicle speed monitored by the speed sensor 88, and the vertical axis indicates the distance measuring device 83. It is the inter-vehicle distance from the vehicle ahead. In FIG. 24, C 1 is an allowable area, C 2 is a low-risk area, and C 3 is a high-risk area. The boundaries of these areas are defined as a function of the vehicle speed and the inter-vehicle distance. Although the rear-end collision prevention system 87 does not operate in the permissible area C 1 ,
When the vehicle enters the low-risk area C 2 , the alarm device 90 first turns on to alert the driver by a buzzer or an alarm, and when the vehicle enters the high-risk area C 3 , the brake device 91 automatically operates. , The vehicle 81 is forcibly decelerated or suddenly stopped. Therefore, it is possible to prevent a rear-end collision accident due to the driver's carelessness or falling asleep.

【0082】図25は上記追突防止システム87の動作
フローを示す図であって、距離測定装置83によって前
方車両86との車間距離が算出される(S101)と、
追突防止用制御部89は当該車間距離と速度センサ88
によって監視されている自車速度とから危険度を判断し
(S102)、車両が図24中のどの領域にあるか判定
する。そして、許容領域C1内であるか否か判断し(S
103)、許容領域C1内に止まっていれば、引続き危
険度を監視し続ける(S101〜S103)。許容領域
1内にない場合には、低度危険領域C2か高度危険領域
3か判断し(S104)、低度危険領域C2であれば警
報装置90を作動させ(S105)、高度危険領域C3
であればブレーキ装置91を作動させる(S106)。
FIG. 25 is a diagram showing the operation flow of the rear-end collision prevention system 87. When the distance measuring device 83 calculates the inter-vehicle distance to the preceding vehicle 86 (S101),
The rear-end collision prevention control unit 89 controls the inter-vehicle distance and the speed sensor 88.
The degree of danger is determined from the own vehicle speed monitored by (S102), and it is determined which area in FIG. 24 the vehicle is in. Then, it is judged whether or not it is within the allowable region C 1 (S
103), if it remains within the permissible area C 1 , the risk level is continuously monitored (S101 to S103). If it is not within the allowable area C 1 , it is judged whether it is the low-risk area C 2 or the high-risk area C 3 (S104), and if it is the low-risk area C 2 , the alarm device 90 is activated (S105), Danger area C 3
If so, the brake device 91 is operated (S106).

【0083】なお、上記追突防止システム87では、危
険領域を警報作動領域とブレーキ作動領域との2つに分
けたが、ブレーキ作動領域をさらに2つに分け、まず低
度のブレーキ作動領域では車両を強制的に減速させ、さ
らに高度のブレーキ作動領域になると急ブレーキを掛け
て車両を急停止させるようにしてもよい。
In the rear-end collision prevention system 87, the danger area is divided into the warning operation area and the brake operation area. However, the brake operation area is further divided into two areas. May be forcibly decelerated and the vehicle may be stopped suddenly by applying a sudden brake when the brake operating range becomes higher.

【0084】図26は本発明による距離測定装置83を
用いた視界補助システム92を搭載した車両81を示す
平面図である。本発明に係る距離測定装置83は、例え
ば左右のサイドミラー93及び車両背面のバンパー94
の左右両側部に取り付けられており、車両後方と車両側
部後方とに視野を設定されている。当該視野補助システ
ム92は、車線変更時の視界補助とバック駐車時の視界
補助を行なうようになっている。また、運転席には警報
装置95(または表示装置)が設けられている。図27
に示すように、距離測定装置83によって検出されてい
る後方の被検知物体までの距離を示す情報と、速度セン
サ88によって検出されている自車速度を示す情報と、
バックランプ制御信号97と、ウインカー制御信号98
とが視界補助用制御部96に入力されており、視界補助
用制御部96は車線変更時やバック駐車時の危険度を判
断し、危険であると判断すると警報装置95をオンに
し、運転者に警告する。
FIG. 26 is a plan view showing a vehicle 81 equipped with a visual field assistance system 92 using the distance measuring device 83 according to the present invention. The distance measuring device 83 according to the present invention includes, for example, left and right side mirrors 93 and a bumper 94 on the rear surface of the vehicle.
It is attached to both left and right sides of the vehicle, and the field of view is set to the rear of the vehicle and the rear of the side of the vehicle. The visual field assistance system 92 provides visual field assistance when changing lanes and visual field assistance during back parking. An alarm device 95 (or display device) is provided in the driver's seat. FIG.
As shown in, information indicating the distance to the rear detected object detected by the distance measuring device 83, and information indicating the vehicle speed detected by the speed sensor 88,
Back lamp control signal 97 and turn signal control signal 98
Is input to the visibility assistance control unit 96, and the visibility assistance control unit 96 determines the degree of danger at the time of changing lanes or at the time of back parking. To warn.

【0085】図28は上記視界補助システム92の車線
変更時の動作フローを示す図である。車線変更する場合
には、車線変更のために曲がる側のウインカーが点滅す
るが、この右又は左のウインカーの制御信号が発信され
ると(S107)、視界補助用制御部96はウインカー
制御信号98を検知し、移動しようとする側の距離測定
装置83と速度センサ88を作動させ(S108)、距
離測定装置83からは後側方の後続車両までの距離を示
す信号が視界補助用制御部96へ出力され、速度センサ
88からは自車速度を示す信号が視界補助用制御部96
へ出力される。視界補助用制御部96は、これらの信号
から車両81の状態を判断し、車線変更の危険度を判断
する(危険度は被検知物体との距離と自車速度との関数
となる)(S109,S110)。この結果、危険であ
ると判断した場合には、警報装置95を鳴らして(ある
いは表示装置に表示して)警告する(S111)。よっ
て、警告された場合には、運転者は警告が解除されるま
で車線変更せず待機し、車線変更による事故を未然に防
止することができる。
FIG. 28 is a diagram showing an operation flow of the visibility assisting system 92 when changing lanes. When changing lanes, the turn signal on the turn side blinks for changing lanes, but when the control signal for the right or left turn signal is transmitted (S107), the visibility assist control unit 96 causes the turn signal control signal 98 to be displayed. Is detected, the distance measuring device 83 and the speed sensor 88 on the moving side are operated (S108), and a signal indicating the distance from the distance measuring device 83 to the following vehicle on the rear side is sent to the visibility assist control unit 96. A signal indicating the vehicle speed is output from the speed sensor 88 to the visibility assist control unit 96.
Output to The visibility assist control unit 96 determines the state of the vehicle 81 from these signals and determines the risk of lane change (the risk is a function of the distance to the detected object and the vehicle speed) (S109). , S110). As a result, when it is determined that the information is dangerous, the alarm device 95 is sounded (or displayed on the display device) to warn (S111). Therefore, when the warning is given, the driver can stand by without changing the lane until the warning is released, thereby preventing an accident due to the lane change.

【0086】また、図29は上記視界補助システム92
のバック駐車時の動作フローを示す図である。バックす
る場合には、バックランプが点滅するが、このバックラ
ンプ制御信号が発信されると(S112)、視界補助用
制御部96はバックランプ制御信号97を検知し、背面
の距離測定装置83と速度センサ88を作動させ(S1
13)、距離測定装置83からは後方の被検知物体(駐
車車両や壁、あるいは子供など)までの距離を示す信号
が視界補助用制御部96へ出力され、速度センサ88か
らは車両速度を示す信号が視界補助用制御部96へ出力
される。視界補助用制御部96は、これらの信号から車
両81の状態を判断し、バック駐車の危険度を判断する
(S114,S115)。この結果、危険であると判断
した場合には、警報装置95を鳴らして(あるいは表示
装置に表示して)警告する(S116)。よって、警告
された場合には、運転者は直ちにブレーキを掛けて停止
することができ、障害物や子供等との衝突事故や接触事
故を防止することができる。なお、この場合には、車外
でも警報を鳴らして車両の後方にいる子供などにも警告
するようにしてもよい。
Further, FIG. 29 shows the visibility assisting system 92.
It is a figure which shows the operation | movement flow at the time of back parking. When backing up, the back lamp blinks, but when this back lamp control signal is transmitted (S112), the visibility assist control unit 96 detects the back lamp control signal 97, and the back distance measuring device 83 Activate the speed sensor 88 (S1
13), the distance measuring device 83 outputs a signal indicating the distance to the object to be detected (parked vehicle, wall, child, etc.) to the visibility assist control unit 96, and the speed sensor 88 indicates the vehicle speed. The signal is output to the visual field assistance control unit 96. The visibility assistance control unit 96 determines the state of the vehicle 81 from these signals and determines the risk of back parking (S114, S115). As a result, when it is determined that the information is dangerous, the alarm device 95 is sounded (or displayed on the display device) to warn (S116). Therefore, when the warning is given, the driver can immediately apply the brakes to stop, and it is possible to prevent a collision accident or a contact accident with an obstacle or a child. In this case, an alarm may be sounded even outside the vehicle to warn a child or the like behind the vehicle.

【0087】図30は本発明による距離測定装置83を
用いた自動追従制御システム121を示すブロック図で
あって、前方車両86とほぼ一定の車間距離を保ちなが
ら前方車両86に半自動追従するための装置である。こ
の場合にも、本発明の距離測定装置83は、例えばルー
ムミラー82の背後に取り付けられており、前方に視野
を設定されている(図20参照)。この距離測定装置8
3によって検出されている前方車両86までの車間距離
を示す情報と、速度センサ88によって検出されている
自車速度を示す情報とは、自動追従制御部122に入力
されており、自動追従制御部122は車間距離や自車速
度に応じてアクセル制御装置123やブレーキ制御装置
124をコントロールしている。
FIG. 30 is a block diagram showing an automatic follow-up control system 121 using the distance measuring device 83 according to the present invention, for semi-automatic follow-up of the front vehicle 86 while maintaining a substantially constant inter-vehicle distance. It is a device. Also in this case, the distance measuring device 83 of the present invention is attached to the back of the room mirror 82, for example, and the field of view is set forward (see FIG. 20). This distance measuring device 8
The information indicating the inter-vehicle distance to the forward vehicle 86 detected by 3 and the information indicating the own vehicle speed detected by the speed sensor 88 are input to the automatic tracking control unit 122, and the automatic tracking control unit 122 Reference numeral 122 controls the accelerator control device 123 and the brake control device 124 according to the inter-vehicle distance and the vehicle speed.

【0088】図31は自動追従制御部122による判断
方法を示す図である。曲線Eは半自動走行する場合の前
方車両86との車間距離と自車速度との理想曲線であっ
て、曲線Eを含む領域F1は、車間距離が理想車間距離
より開いていたり、理想車間距離より詰まり過ぎていて
も許容される理想領域である。また、この理想領域F 1
の外側にある領域のうち、F2は車間距離が開き過ぎて
いて調整を必要とする領域、F3は車間距離Lが詰まり
過ぎていて調整を必要とする領域である。自動追従制御
部122は、距離測定装置83と速度センサ88の出力
信号から、車両の状態が図31中のどの領域にあるか判
断し、理想領域F1にある場合には、車両81の運転を
運転者の自由に委ねているが、車両81の状態が理想領
域F1から外れると、図32のフロー図に従ってアクセ
ル制御装置123やブレーキ制御装置124を制御し、
安全かつ最適な車間距離を保って追従走行させる。
FIG. 31 shows the judgment made by the automatic tracking control unit 122.
It is a figure which shows the method. Curve E is before semi-automatic driving
It is an ideal curve of the distance between the vehicle and the vehicle 86 and the vehicle speed.
Area F including the curve E1Is the ideal vehicle-to-vehicle distance
More open or too close to the ideal distance
Is also an ideal area that is allowed. In addition, this ideal region F 1
Of the area outside theTwoThe distance between cars is too wide
Area that needs adjustment, FThreeIs a short distance L
This is an area that has passed and needs adjustment. Automatic tracking control
The unit 122 outputs the distance measuring device 83 and the speed sensor 88.
From the signal, it is possible to determine which area in Fig. 31 the vehicle is in.
Cut off, ideal area F1If the vehicle is in
Although it is left to the driver's freedom, the condition of the vehicle 81 is ideal.
Area F1When it comes off, the access according to the flow chart of Fig. 32.
The control device 123 and the brake control device 124,
Keep track of a safe and optimal vehicle distance.

【0089】図32のフロー図に従って自動追従制御シ
ステム121の制御動作を説明する。前方車両86まで
の車間距離は距離測定装置83によって算出されており
(S131)、自動追従制御部122は車間距離と自車
速度とから車両81の状態を判断し、車両81の状態と
理想状態とを比較する(S132)。この結果、車両8
1の状態が理想領域F1にあると判断した場合には(S
133)、ブレーキ制御装置124やアクセル制御装置
123に制御信号を出力することなく、運転を運転者に
任せておき、車両状態と理想状態との比較を繰り返し行
なう(S131〜S133)。これに対し、理想領域F
1外にあると判断した場合には、さらに領域F2にあるの
か、領域F3にあるのかを判別し(S134)、車間距
離が離れ過ぎの領域F2にあると判断した場合には、ア
クセル制御装置123へ制御信号を出力し、アクセル開
度を増やして前方車両86との距離Lを詰める(S13
5)。逆に、車間距離が詰まり過ぎの領域F3にあると
判断した場合には、アクセル制御装置123やブレーキ
制御装置124へ制御信号を出力し、アクセル開度を減
らしたり、ブレーキを作動させたりして、十分な車間距
離を保つようにする(S136)。
The control operation of the automatic tracking control system 121 will be described with reference to the flowchart of FIG. The inter-vehicle distance to the front vehicle 86 is calculated by the distance measuring device 83 (S131), and the automatic tracking control unit 122 determines the state of the vehicle 81 from the inter-vehicle distance and the own vehicle speed, and the state of the vehicle 81 and the ideal state. And are compared (S132). As a result, the vehicle 8
When it is determined that the state of 1 is in the ideal area F 1 , (S
133), the driving is left to the driver without outputting the control signal to the brake control device 124 or the accelerator control device 123, and the comparison between the vehicle state and the ideal state is repeated (S131 to S133). On the other hand, the ideal area F
If it is determined that the first outer further whether the region F 2, to determine whether the region F 3 (S134), when it is determined that the area F 2 of the past away following distance, A control signal is output to the accelerator control device 123, the accelerator opening is increased, and the distance L with the preceding vehicle 86 is reduced (S13).
5). On the other hand, when it is determined that the inter-vehicle distance is in the region C 3 where the inter-vehicle distance is too close, a control signal is output to the accelerator control device 123 or the brake control device 124 to reduce the accelerator opening or activate the brake. To maintain a sufficient inter-vehicle distance (S136).

【0090】図33は交通渋滞時における車両の運転を
サポートするためのシステム125を示すブロック図で
ある。交通渋滞時には、前方車両86がいつ前方へ移動
するか予測がつかないので、運転者は前方車両86に絶
えず注意し、前方車両86が移動したら直ちに車両81
を前方へ動かして車間を詰めなければならない。このた
め、交通渋滞時の運転は神経が疲れ、いらいらを起こし
易いものであった。このシステムは、このような交通渋
滞時の運転を楽にしようとするものである。この車両8
1でも、本発明の距離測定装置83は、例えばルームミ
ラー82の背後に取り付けられており、前方に視野を設
定されている(図20参照)。この距離測定装置83に
よって検出されている前方車両86までの車間距離を示
す情報と、速度センサ88によって検出されている自車
速度を示す情報とは、前方車両発進検出制御部126に
入力されており、前方車両発進検出制御部126は車間
距離が一定値以上離れた場合には、警報装置127(又
は表示装置)を作動させて運転者に知らせる。すなわ
ち、図34に示すように、前方車両発進検出制御部12
6は速度センサ88からの信号によって自車速度が0か
どうか判定し(S141)、自車速度が0の場合には交
通渋滞による停車中であると判断し、交通渋滞のための
以下の処理を実行する。前方車両発進検出制御部126
は、距離測定装置83で算出された前方車両86との車
間距離を監視し(S142)、車間距離が交通渋滞時の
適当な車間距離を考慮して決められた一定値以上かどう
か判断している(S143)。そして、前方車両86が
前方へ移動して車間距離が一定値以上離れると、警報装
置127を作動させ(S144)、運転者に車間距離を
詰めるように促す。このようなシステム125を用いれ
ば、運転者は常に前方車両86の移動に絶えず注意する
負担から解放され、例えば渋滞時の運転者の緊張(いら
いら)を和らげ、ゆとりを持たせることができる。
FIG. 33 is a block diagram showing a system 125 for supporting driving of a vehicle during traffic congestion. During a traffic jam, it is not possible to predict when the forward vehicle 86 will move forward. Therefore, the driver constantly pays attention to the forward vehicle 86 and immediately after the forward vehicle 86 moves, the vehicle 81
Have to move forward to reduce the distance between cars. For this reason, driving during a traffic jam is tired and irritable. This system is intended to facilitate driving during such traffic congestion. This vehicle 8
1, the distance measuring device 83 of the present invention is attached, for example, behind the room mirror 82, and the field of view is set forward (see FIG. 20). The information indicating the inter-vehicle distance to the front vehicle 86 detected by the distance measuring device 83 and the information indicating the own vehicle speed detected by the speed sensor 88 are input to the front vehicle start detection control unit 126. Therefore, the forward vehicle start detection control unit 126 activates the alarm device 127 (or display device) to notify the driver when the inter-vehicle distance is a certain value or more. That is, as shown in FIG. 34, the front vehicle start detection control unit 12
6 determines from the signal from the speed sensor 88 whether the own vehicle speed is 0 (S141). If the own vehicle speed is 0, it is determined that the vehicle is stopped due to traffic congestion, and the following processing for traffic congestion is performed. To execute. Forward vehicle start detection control unit 126
Monitors the inter-vehicle distance with the forward vehicle 86 calculated by the distance measuring device 83 (S142), and determines whether the inter-vehicle distance is equal to or more than a certain value determined in consideration of an appropriate inter-vehicle distance during traffic congestion. (S143). When the front vehicle 86 moves forward and the inter-vehicle distance deviates from a certain value or more, the alarm device 127 is activated (S144), and the driver is urged to reduce the inter-vehicle distance. By using such a system 125, the driver can be relieved of the burden of constantly paying attention to the movement of the vehicle 86 in front, and for example, the driver can be relieved of tension during traffic jam and can have a space.

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

【図1】位相差相関法により測距する従来の距離測定装
置を示す概略構成図である。
FIG. 1 is a schematic configuration diagram showing a conventional distance measuring device that measures a distance by a phase difference correlation method.

【図2】同上の光学的構成を示す図である。FIG. 2 is a diagram showing an optical configuration of the above.

【図3】同上の距離測定装置における、被検知物体まで
の距離を計測するための原理を説明する図である。
FIG. 3 is a diagram illustrating a principle for measuring a distance to a detected object in the above distance measuring device.

【図4】(a)(b)(c)(d)は同上の距離計測装
置において、ずれ量を求める方法を説明する図である。
4 (a), (b), (c), and (d) are diagrams for explaining a method of obtaining a deviation amount in the above distance measuring device.

【図5】本発明の一実施形態による距離測定装置の構成
を示す図である。
FIG. 5 is a diagram showing a configuration of a distance measuring device according to an embodiment of the present invention.

【図6】同上の不揮発性メモリのデータ内容を示すメモ
リマップである。
FIG. 6 is a memory map showing data contents of the nonvolatile memory of the above.

【図7】同上の不揮発性メモリにQ・fの値を格納する
第1の方法を説明するフロー図である。
FIG. 7 is a flowchart illustrating a first method of storing the value of Q · f in the above nonvolatile memory.

【図8】同上の不揮発性メモリにQ・fの値を格納する
第2の方法を説明するフロー図である。
FIG. 8 is a flowchart illustrating a second method of storing the value of Q · f in the nonvolatile memory of the above.

【図9】同上の不揮発性メモリにQ・fの値を格納する
第3の方法を説明するフロー図である。
FIG. 9 is a flowchart illustrating a third method of storing the value of Q · f in the nonvolatile memory of the above.

【図10】同上の第3の方法を示す説明図である。FIG. 10 is an explanatory diagram showing a third method of the above.

【図11】2つの距離データからQ・fの値を求める別
な方法を示す説明図である。
FIG. 11 is an explanatory diagram showing another method of obtaining the value of Q · f from two pieces of distance data.

【図12】本発明の別な実施形態による距離測定装置の
構成を示す図である。
FIG. 12 is a diagram showing a configuration of a distance measuring device according to another embodiment of the present invention.

【図13】本発明のさらに別な実施形態による距離測定
装置の構成を示す図である。
FIG. 13 is a diagram showing a configuration of a distance measuring device according to still another embodiment of the present invention.

【図14】(a)は基礎データ用メモリのデータ内容を
示すメモリマップ、(b)は補正データ用メモリのデー
タ内容を示すメモリマップである。
FIG. 14A is a memory map showing the data contents of the basic data memory, and FIG. 14B is a memory map showing the data contents of the correction data memory.

【図15】同上の実施形態における第1のデータ記憶方
法を示すフロー図である。
FIG. 15 is a flowchart showing a first data storage method in the embodiment.

【図16】同上の実施形態における距離測定のための処
理を示すフロー図である。
FIG. 16 is a flowchart showing a process for distance measurement in the same embodiment.

【図17】同上の実施形態における第2のデータ記憶方
法を示すフロー図である。
FIG. 17 is a flowchart showing a second data storage method in the above-mentioned embodiment.

【図18】同上の実施形態における第3のデータ記憶方
法を示すフロー図である。
FIG. 18 is a flowchart showing a third data storage method in the embodiment.

【図19】本発明のさらに別な実施形態による距離測定
装置の構成を示す図である。
FIG. 19 is a diagram showing a configuration of a distance measuring device according to still another embodiment of the present invention.

【図20】本発明にかかる車両を示す側面図である。FIG. 20 is a side view showing a vehicle according to the present invention.

【図21】同上の車両の車内を示す一部破断した概略図
である。
FIG. 21 is a partially cutaway schematic view showing the interior of the above vehicle.

【図22】本発明の衝突防止システムを搭載した車両を
示す側面図である。
FIG. 22 is a side view showing a vehicle equipped with the collision prevention system of the present invention.

【図23】同上の衝突防止システムを示すブロック図で
ある。
FIG. 23 is a block diagram showing the collision prevention system of the above.

【図24】同上衝突防止用制御部における危険度の判断
方法を説明するための図である。
FIG. 24 is a diagram for explaining a method of determining the degree of danger in the collision prevention control unit.

【図25】同上の衝突防止システムにおける処理手順を
示すフロー図である。
FIG. 25 is a flowchart showing a processing procedure in the above collision prevention system.

【図26】本発明の視界補助システムを搭載した車両を
示す平面図である。
FIG. 26 is a plan view showing a vehicle equipped with the visual field assistance system of the present invention.

【図27】同上の視界補助システムを示すブロック図で
ある。
FIG. 27 is a block diagram showing the visibility assistance system of the above.

【図28】同上の視界補助システムにおける車線変更の
際の処理手順を示すフロー図である。
FIG. 28 is a flowchart showing a processing procedure when changing lanes in the visual field assistance system.

【図29】同上の視界補助システムにおけるバック駐車
の際の処理手順を示すフロー図である。
FIG. 29 is a flowchart showing a processing procedure at the time of back parking in the visibility assist system.

【図30】本発明の自動追従システムを示すブロック図
である。
FIG. 30 is a block diagram showing an automatic tracking system of the present invention.

【図31】同上の自動追従における車両状態の理想領域
を示す図である。
FIG. 31 is a diagram showing an ideal region of a vehicle state in the above automatic tracking.

【図32】同上の自動追従システムにおける処理手順を
示すフロー図である。
FIG. 32 is a flowchart showing a processing procedure in the above-described automatic tracking system.

【図33】本発明の交通渋滞時の運転を容易にするため
のシステムを示すブロック図である。
FIG. 33 is a block diagram showing a system for facilitating driving during traffic congestion of the present invention.

【図34】同上のシステムにおける処理手順を示すフロ
ー図である。
FIG. 34 is a flowchart showing a processing procedure in the above system.

【符号の説明】 11 距離測定装置 12a,12b レンズ 13a,13b 光検出器 14 相関演算部 15 不揮発性メモリ 16 出力回路 17 信号入力回路 18 外部スイッチ 19 データ入力回路 52 モード切り替えスイッチ 54 基礎データ用メモリ 55 補正データ用メモリ 81 車両 87 追突防止システム 92 視界補助システム 121 自動追従制御システム 125 交通渋滞時用の運転サポートシステム[Explanation of reference numerals] 11 distance measuring device 12a, 12b lens 13a, 13b photodetector 14 correlation calculation unit 15 non-volatile memory 16 output circuit 17 signal input circuit 18 external switch 19 data input circuit 52 mode selection switch 54 basic data memory 55 Memory for correction data 81 Vehicle 87 Rear-end collision prevention system 92 Visibility assist system 121 Automatic follow-up control system 125 Driving support system for traffic congestion

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 B60T 7/12 B60T 7/12 C F02D 29/02 F02D 29/02 Z G01B 11/00 G01B 11/00 B 21/00 21/00 A ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location B60T 7/12 B60T 7/12 C F02D 29/02 F02D 29/02 Z G01B 11/00 G01B 11 / 00 B 21/00 21/00 A

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 構成部材間の位置関係データを記憶する
記憶手段と、該位置関係データを用いて前記測定値を算
出する演算手段とを備え、前記構成部材間の位置関係を
利用して測定値を算出する測定装置において、 前記記憶手段に記憶されている位置関係データを再設定
するための再設定手段を備えたことを特徴とする測定装
置。
1. A storage unit for storing positional relationship data between constituent members, and a calculation unit for calculating the measured value using the positional relationship data, and measurement using the positional relationship between the constituent members. A measuring device for calculating a value, comprising a resetting device for resetting the positional relationship data stored in the storage device.
【請求項2】 請求項1に記載の測定装置において、デ
ータ記憶モードに設定するモード設定手段を備え、前記
記憶手段への位置関係データの記憶はデータ記憶モード
にて行われるものであることを特徴とする測定装置。
2. The measuring device according to claim 1, further comprising a mode setting means for setting a data storage mode, wherein the storage of the positional relationship data in the storage means is performed in the data storage mode. Characteristic measuring device.
【請求項3】 請求項1又は2に記載の測定装置におい
て、基準状態における既知の基準値が外部から入力され
る基準値入力手段と、該基準状態における測定装置によ
る測定値と前記入力された基準値とから前記部材間の位
置関係データを算出する位置データ算出手段と、を備
え、 前記記憶手段は、前記位置データ算出手段により算出さ
れた位置関係データを記憶することを特徴とする測定装
置。
3. The measuring device according to claim 1, wherein a known reference value in a reference state is inputted from the outside by a reference value inputting means, and a measurement value by the measuring device in the reference state is inputted. Position data calculation means for calculating positional relationship data between the members from a reference value, and the storage means stores the positional relationship data calculated by the position data calculation means. .
【請求項4】 請求項1又は2に記載の測定装置におい
て、前記位置関係データが外部から入力される位置デー
タ入力手段を備えたことを特徴とする測定装置。
4. The measuring device according to claim 1, further comprising position data input means for inputting the positional relationship data from the outside.
【請求項5】 光を用いて物体までの距離を測定するた
めの、請求項1〜4に記載の測定装置であって、少なく
とも受光レンズと受光素子との距離を位置関係データと
して前記記憶手段に記憶することを特徴とする測定装
置。
5. The measuring device according to claim 1, for measuring a distance to an object using light, wherein the storage means has at least a distance between a light receiving lens and a light receiving element as positional relationship data. A measuring device characterized by being stored in.
【請求項6】 位相差相関法によって物体までの距離を
測定する、請求項5に記載の測定装置であって、2つの
受光レンズ間の距離と、受光レンズ及び受光素子間の距
離をそれぞれ位置関係データとして前記記憶手段に記憶
することを特徴とする測定装置。
6. The measuring device according to claim 5, wherein the distance to the object is measured by a phase difference correlation method, wherein the distance between the two light receiving lenses and the distance between the light receiving lens and the light receiving element are respectively set. A measuring device which is stored in the storage means as related data.
【請求項7】 位相差相関法によって物体までの距離を
測定する、請求項5に記載の測定装置であって、2つの
受光レンズ間の距離と受光レンズ及び受光素子間の距離
との積を位置関係データとして前記記憶手段に記憶する
ことを特徴とする測定装置。
7. The measuring device according to claim 5, wherein the distance to the object is measured by a phase difference correlation method, and the product of the distance between the two light receiving lenses and the distance between the light receiving lens and the light receiving element is calculated. A measuring device which is stored in the storage means as positional relationship data.
【請求項8】 構成部材間の位置関係を利用して測定値
を算出する測定装置であって、 設計値による前記部材間の位置関係データを基礎データ
として記憶する基礎データ記憶手段と、 前記部材間の位置関係の設計値からの位置ずれ値を補正
データとして記憶する補正データ記憶手段と、 前記基礎データ及び補正データを用いて前記測定値を算
出する演算手段と、を備えたことを特徴とする測定装
置。
8. A measuring device for calculating a measurement value by utilizing a positional relationship between constituent members, comprising basic data storage means for storing positional relationship data between the members according to a design value as basic data, and the member. Correction data storage means for storing, as correction data, a displacement value from the design value of the positional relationship between the two, and a calculation means for calculating the measured value using the basic data and the correction data. Measuring device.
【請求項9】 請求項8に記載の測定装置において、前
記補正データ記憶手段に記憶される位置ずれ値を再設定
するための再設定手段を備えたことを特徴とする測定装
置。
9. The measuring apparatus according to claim 8, further comprising resetting means for resetting the positional deviation value stored in the correction data storage means.
【請求項10】 請求項8又は9に記載の測定装置にお
いて、データ記憶モードに設定するモード設定手段を備
え、前記補正データ記憶手段への位置ずれ値の記憶はデ
ータ記憶モードにて行われるものであることを特徴とす
る測定装置。
10. The measuring device according to claim 8 or 9, further comprising a mode setting means for setting a data storage mode, and the misregistration value is stored in the correction data storage means in the data storage mode. A measuring device characterized in that
【請求項11】 請求項8〜10に記載の測定装置にお
いて、基準状態における既知の基準値が外部から入力さ
れる基準値入力手段と、該基準状態における測定装置に
よる測定値と前記入力された基準値とから前記部材の位
置ずれ値を算出する位置ずれ値算出手段と、を備え、 前記補正データ記憶手段には、前記位置データ算出手段
により算出された位置ずれ値が補正データとして記憶さ
れることを特徴とする測定装置。
11. The measurement device according to claim 8, wherein a reference value input means for inputting a known reference value in a reference state from the outside, and a measurement value by the measurement device in the reference state are input. A positional deviation value calculating means for calculating a positional deviation value of the member from a reference value, and the positional deviation value calculated by the positional data calculating means is stored as correction data in the correction data storage means. A measuring device characterized by the above.
【請求項12】 請求項8〜10に記載の測定装置にお
いて、前記位置ずれ値が外部から入力される位置ずれ値
入力手段を備えたことを特徴とする測定装置。
12. The measuring device according to claim 8, further comprising a positional deviation value input means for inputting the positional deviation value from the outside.
【請求項13】 光を用いて物体までの距離を測定する
ための、請求項8〜12に記載の測定装置であって、少
なくとも受光レンズと受光素子との距離を位置関係デー
タとして記憶手段に記憶することを特徴とする測定装
置。
13. The measuring device according to claim 8 for measuring the distance to an object using light, wherein at least the distance between the light receiving lens and the light receiving element is stored in the storage means as positional relationship data. A measuring device characterized by storing.
【請求項14】 請求項1〜13の測定装置を備え、周
囲に存在する物体までの距離を測定すべく車室内もしく
は車室外に前記測定装置が取り付けられたことを特徴と
する安全走行システム。
14. A safe traveling system comprising the measuring device according to any one of claims 1 to 13, wherein the measuring device is mounted inside or outside a vehicle in order to measure a distance to an object existing in the surroundings.
【請求項15】 請求項14に記載の安全走行システム
において、車速表示メータの付近に前記測定装置の出力
に基づいた前記物体までの距離に関する表示を行なう表
示部が取り付けられたことを特徴とする安全走行システ
ム。
15. The safe traveling system according to claim 14, wherein a display unit for displaying a distance to the object based on the output of the measuring device is attached near the vehicle speed display meter. Safe driving system.
【請求項16】 請求項14に記載の安全走行システム
において、少なくとも前記測定装置の出力に基づいて、
自車両が周囲に存在する物体に衝突する可能性のある危
険な状態であるか否かを判断する判断装置を備えたこと
を特徴とする安全走行システム。
16. The safe traveling system according to claim 14, wherein at least based on the output of the measuring device,
A safe traveling system characterized by comprising a judging device for judging whether or not the own vehicle is in a dangerous state in which there is a possibility of colliding with an object existing around.
【請求項17】 請求項14に記載の安全走行システム
において、少なくとも前記測定装置の出力に基づいて、
アクセル開度もしくはブレーキを制御する制御手段を備
えたことを特徴とする安全走行システム。
17. The safe traveling system according to claim 14, wherein at least based on the output of the measuring device,
A safe traveling system comprising control means for controlling an accelerator opening degree or a brake.
【請求項18】 請求項14に記載の安全走行システム
において、少なくとも前記測定装置の出力に基づいて、
前方の車両が発進したことを運転車に報知する報知手段
を備えたことを特徴とする安全走行システム。
18. The safe traveling system according to claim 14, wherein at least based on the output of the measuring device,
A safe traveling system comprising a notification means for notifying a driving vehicle that a vehicle ahead has started.
JP8110111A 1996-04-05 1996-04-05 Measuring apparatus and safety run system Pending JPH09273927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8110111A JPH09273927A (en) 1996-04-05 1996-04-05 Measuring apparatus and safety run system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8110111A JPH09273927A (en) 1996-04-05 1996-04-05 Measuring apparatus and safety run system

Publications (1)

Publication Number Publication Date
JPH09273927A true JPH09273927A (en) 1997-10-21

Family

ID=14527328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8110111A Pending JPH09273927A (en) 1996-04-05 1996-04-05 Measuring apparatus and safety run system

Country Status (1)

Country Link
JP (1) JPH09273927A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007163417A (en) * 2005-12-16 2007-06-28 Horon:Kk Image position measuring method and image position measuring instrument
JP2007183181A (en) * 2006-01-06 2007-07-19 Nikon Corp Three-dimensional shape measuring apparatus
JP2008020399A (en) * 2006-07-14 2008-01-31 Omron Corp Displacement sensor
JP2013152344A (en) * 2012-01-25 2013-08-08 Canon Inc Distance information detection device, distance information detection method, and camera

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007163417A (en) * 2005-12-16 2007-06-28 Horon:Kk Image position measuring method and image position measuring instrument
JP2007183181A (en) * 2006-01-06 2007-07-19 Nikon Corp Three-dimensional shape measuring apparatus
JP2008020399A (en) * 2006-07-14 2008-01-31 Omron Corp Displacement sensor
JP2013152344A (en) * 2012-01-25 2013-08-08 Canon Inc Distance information detection device, distance information detection method, and camera
US9354056B2 (en) 2012-01-25 2016-05-31 Canon Kabushiki Kaisha Distance measurement apparatus, distance measurement method, and camera

Similar Documents

Publication Publication Date Title
US10017116B2 (en) Image display apparatus
EP0558026B2 (en) An obstacle detecting device for a vehicle
EP1072863B1 (en) Image processing apparatus for navigation system
US5562336A (en) Head lamp device for vehicle
US7619668B2 (en) Abnormality detecting apparatus for imaging apparatus
US11541891B2 (en) Vehicle control method and vehicle control device
US6470273B2 (en) Collision warning system
EP0501345B1 (en) Motor car traveling control device
JP4385392B2 (en) Vehicle information providing device
CN101207802B (en) Driving support method and driving support apparatus
JP2646146B2 (en) Inter-vehicle distance control device
US9586525B2 (en) Camera-assisted blind spot detection
US5680097A (en) Vehicle run safety apparatus
US6097311A (en) Warning device for distance between cars
US20060212222A1 (en) Safe movement support device
RU2767216C1 (en) Vehicle movement control method and vehicle movement control equipment
JPH04331311A (en) Detecting apparatus of inter-vehicle distance
JP7167963B2 (en) Lane change planning device and computer program for lane change planning
US20080258888A1 (en) Driving support method and driving support system
JPH10283592A (en) On-vehicle drive supporting device
JP2000030199A (en) Vehicle driving supporting device
JP2021128432A (en) Operation support system
JPH09273927A (en) Measuring apparatus and safety run system
JP2003104148A (en) Control device of vehicle
WO2021176825A1 (en) Sensing system