JPH0157314B2 - - Google Patents
Info
- Publication number
- JPH0157314B2 JPH0157314B2 JP59060337A JP6033784A JPH0157314B2 JP H0157314 B2 JPH0157314 B2 JP H0157314B2 JP 59060337 A JP59060337 A JP 59060337A JP 6033784 A JP6033784 A JP 6033784A JP H0157314 B2 JPH0157314 B2 JP H0157314B2
- Authority
- JP
- Japan
- Prior art keywords
- ultrasonic
- sensitivity
- time data
- level
- wave
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S7/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/52—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S15/00
- G01S7/523—Details of pulse systems
- G01S7/526—Receivers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)
Description
[技術分野]
本発明は超音波を利用して物体を検出する反射
型の物体検出装置に関する。
[従来技術]
たとえば車輌において、ドライバの視野を外れ
る位置にある障害物を検出してドライバを誘導す
る装置として、物体検出装置が知られている。こ
の種の物体検出装置においては、一般に超音波を
利用している。そしてこの種の装置では、超音波
発信器から所定強度の超音波を所定方向に向けて
発射し、超音波発信器をそれと同じ方向に向けて
おき、超音波を発射してから超音波受信器で受信
される信号が所定のしきい値レベルを越えるまで
の時間で、反射波の超音波の伝達時間すなわち検
出装置と障害物との距離を測定している。
ところで、一般に超音波受信器に現われる信号
のレベルは、方形波状に変化するわけではなく、
受信波のピーク値をとると立ち上がりおよび立ち
下がりのなだらかな曲線状に変化する(第7e図
参照)。この信号レベルは、超音波発信器を付勢
して最初に発生した超音波が超音波受信器に達し
た時から徐々に立ち上がる。超音波ありと判別で
きるのはこの信号レベルが予め定めるしきい値レ
ベルを越えた後になるので、最初に発射された超
音波が超音波受信器に達してから、立ち上がり時
間を経過した時に反射波ありと判別することにな
る。もし、この立ち上がり時間が一定であれば、
検出した経過時間からその立ち上がり時間を引く
ことにより、正確な超音波の伝達時間を求めて、
正確な物体と検出装置との距離を求めることがで
きる。しかしながら、同一の位置にある物体であ
つても、その物体の材質、形状、検出装置に対す
る傾き等に応じて反射波の強度が大きく変化す
る。
反射波の強度が変化すると、それに応じて、初
めに超音波が受信器に達してからそのレベルがし
きい値に達するまでの立ち上がり時間が変化す
る。つまり、超音波を発射してから反射波ありと
判別するまでの所要時間、すなわち検出結果とし
て得られる物体と検出装置との距離が、同一距離
の物体に対して異なつた値になる。この種の測定
誤差は、従来例では10cm程度とかなり大きな値に
なつていた。
[目的]
本発明は、反射波レベルのちがいによつて生ず
る時間の誤差を小さくし、測定情報を高めること
を目的とする。
[構成]
前記立ち上がり時間が最も大きくなるのは、反
射波レベルがしきい値を僅かに越える時であり、
反射波レベルが非常に大きい場合には立ち上がり
時間は無視しうる程度に小さくなる。従つて、例
えば広い距離範囲の物体を検出するために、感度
調整を可能にして最低感度から徐々に感度を上げ
ていき、最初にしきい値レベルを越えた反射波を
検出した時に得られる時間を測定結果にする装置
では、反射波レベルが低い物体に対しては前記立
ち上がり時間が大きくなるが、反射波レベルが高
い物体に対しては、この立ち上がり時間が小さく
なり、大きな誤差が生ずる。
そこで本発明においては、感度調整を可能にす
るとともに、所定の感度で反射波レベルがしきい
値レベルを越えた場合であつても、少なくともも
う1つ別の感度で測定を行ない、同一の物体から
の反射波と見なせる波を検出した場合には、それ
らの測定で得られた時間データの中で、立ち上が
り時間の小さい方、つまり感度の高い方で得られ
た測定時間を用いて測定結果を得る。このように
すれば、立ち上がり時間の差が小さくなり、測定
誤差を小さくしうる。更に、これだとしきい値レ
ベルの設定に気をつかう必要がなくなり、装置の
無調整化が可能になる。複数の感度で得られた測
定時間の差が所定値以内であつて、しかも感度の
高い方の時間が小さい(立ち上がり時間が小さい
分だけ小さくなる)場合には、同一の物体によつ
て得られた反射波であると判別しうる。
[実施例]
以下、図面を参照して本発明の実施例を説明す
る。
第1図に、障害物検出装置を装着した自動車の
外観を示す。第1図を参照して説明すると、この
実施例においては、自動車1の後部ダンパ2の両
端部にそれぞれ超音波発信器20a,30aおよ
び超音波受信器20b,30bが装着されてい
る。この実施例では、超音波発信器20aと超音
波受信器20bおよび超音波発信器30aと超音
波受信器30bを、それぞれ3cmの間隔で互いに
平行に配置してある。この実施例で用いている超
音波発信器20a,30aおよび超音波受信器2
0b,30bは、それぞれ松下電気製の超音波セ
ラミツクマイクロホンEFR−OSB40K2および
EFR−RSB40K2である。
例えば第2図に示すようにこの自動車1の後方
に障害物3があると、超音波発信器から出る超音
波が障害物3で反射し、その反射波が超音波受信
器に到達する。従つて、超音波を発射してからそ
れによつて得られる反射波が受信されるまでの時
間を測定すれば、検出装置と障害物3との距離を
測定できる。
第3図に、第1図の自動車に搭載した障害物検
出装置の電気回路のブロツク図を示す。第3図を
参照して説明する。前記の超音波発信器20aお
よび30aは、それぞれ駆動回路50および70
の出力端に接続されており、超音波受信器20b
および30bの出力端には、それぞれ判別回路6
0および80が接続されている。駆動回路50お
よび70と判別回路60および80は、それぞれ
マイクロコンピユータ90に接続されている。こ
の実施例で用いているマイクロコンピユータ90
は、インテル社の8ビツトシングルチツプマイク
ロコンピユータ8748である。90aはマイク
ロコンピユータの動作の基本となるクロツクパル
スを発生するための水晶振動子である。40は起
動回路であり、起動スイツチ41および波形整形
回路42で構成されている。起動スイツチ41は
自己復帰型で接点がノーマリオープンタイプのも
のである。起動スイツチ41は、運転席の操作パ
ネルに配置されている。100はブザー回路であ
り、それを構成するブザー102が、ブザー駆動
回路101を介してマイクロコンピユータ90の
出力ポートに接続されている。110は車体と障
害物との距離を表示する距離表示回路である。距
離表示回路110は、3桁の7セグメント表示器
111を備えている。表示器111は、セグメン
ト駆動回路112と桁駆動回路113でダイナミ
ツク表示駆動される。120は警告回路である。
第4図に第3図の駆動回路50の具体的な構成
を示す。なお、第3図において駆動回路50と7
0は同一の構成にしてあるので、駆動回路70の
構成の説明は省略する。第4図を参照すると、こ
の回路にはインバータ53。駆動用トランジス
タ、昇圧トランスT等が備わつている。インバー
タ53の入力端子は、マイクロコンピユータ90
の所定の出力ポートに接続されている。この信号
ラインには、超音波発信器20aの付勢を制御す
るパルス信号Spが印加される。このパルス信号
Spは、駆動用トランジスタを介して、昇圧トラ
ンスTの一次側に印加される。トランスTの一次
側にパルス信号が印加されると、その二次側には
100V程度の振幅の信号が生ずる。この昇圧され
た40KHzの信号が超音波発信器20aに印加され
る。
後述するように、パルス信号Spは、マイクロ
コンピユータ90がソフトウエアによつて生成す
る。特にこの例では、ソフトウエアにより、超音
波発信器を付勢するパルス信号Spの1回の測定
あたりのパルス数を設定感度に応じて調整する。
つまり、パルス数が少ない場合、超音波発信器か
ら出力される超音波の振幅は、信号Spのパルス
数に応じて大きく変化する(第7b図および第1
表参照)。そこで、この実施例においては、感度
のデータが偶数の時と奇数の時とで信号Spのパ
ルス数を変え、これによつて超音波発信器から出
力される超音波のレベルを2段階に調整して検出
感度を調整している。この例では検出感度は信号
Spのパルス数調整による2段階調整と、後述す
る可変ゲイン増幅器62の4段階のゲイン調整そ
の組み合わせによつて、8段階に調整可能になつ
ている。
[Technical Field] The present invention relates to a reflection-type object detection device that detects an object using ultrasonic waves. [Prior Art] For example, in a vehicle, an object detection device is known as a device that detects an obstacle located outside the driver's field of vision and guides the driver. This type of object detection device generally uses ultrasonic waves. In this type of device, an ultrasonic transmitter emits ultrasonic waves of a predetermined intensity in a predetermined direction, the ultrasonic transmitter is kept facing the same direction, and the ultrasonic receiver emits the ultrasonic waves. The transmission time of the reflected ultrasonic wave, that is, the distance between the detection device and the obstacle, is measured by the time it takes for the signal received by the sensor to exceed a predetermined threshold level. By the way, the level of the signal that appears on an ultrasound receiver generally does not change in a square wave pattern.
When the peak value of the received wave is taken, it changes into a gentle curve with rising and falling edges (see Figure 7e). This signal level gradually rises from the time when the first ultrasonic wave generated by energizing the ultrasonic transmitter reaches the ultrasonic receiver. It can be determined that there is an ultrasonic wave only after this signal level exceeds a predetermined threshold level, so the reflected wave will be detected after the rise time has elapsed after the first emitted ultrasonic wave reaches the ultrasonic receiver. It will be determined that there is. If this rise time is constant,
By subtracting the rise time from the detected elapsed time, find the accurate transmission time of the ultrasonic wave,
The accurate distance between the object and the detection device can be determined. However, even if the object is located at the same position, the intensity of the reflected wave varies greatly depending on the object's material, shape, inclination with respect to the detection device, etc. When the intensity of the reflected wave changes, the rise time from when the ultrasound first reaches the receiver until its level reaches the threshold changes accordingly. That is, the time required from emitting ultrasonic waves to determining that there is a reflected wave, that is, the distance between the object and the detection device obtained as a detection result, will be different values for objects at the same distance. In the conventional example, this type of measurement error was quite large, about 10 cm. [Objective] An object of the present invention is to reduce time errors caused by differences in reflected wave levels and to improve measurement information. [Configuration] The rise time is the largest when the reflected wave level slightly exceeds the threshold,
When the reflected wave level is very high, the rise time becomes negligibly small. Therefore, for example, in order to detect objects over a wide distance range, the sensitivity can be adjusted and the sensitivity can be gradually increased from the lowest sensitivity, and the time obtained when the first reflected wave exceeding the threshold level is detected. In a device that generates measurement results, the rise time is long for an object with a low reflected wave level, but the rise time is short for an object with a high reflected wave level, resulting in a large error. Therefore, in the present invention, it is possible to adjust the sensitivity, and even if the reflected wave level exceeds the threshold level at a predetermined sensitivity, measurement is performed at least at another sensitivity, and even when the same object is If a wave that can be considered to be a reflected wave from the obtain. In this way, the difference in rise time can be reduced and measurement errors can be reduced. Furthermore, with this, there is no need to worry about setting the threshold level, and the device can be made without adjustment. If the difference between the measurement times obtained with multiple sensitivities is within a specified value, and the time with the higher sensitivity is smaller (the time is smaller due to the smaller rise time), the measurement times obtained with the same object cannot be measured. It can be determined that the wave is a reflected wave. [Example] Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 1 shows the appearance of an automobile equipped with an obstacle detection device. Referring to FIG. 1, in this embodiment, ultrasonic transmitters 20a, 30a and ultrasonic receivers 20b, 30b are attached to both ends of a rear damper 2 of an automobile 1, respectively. In this embodiment, an ultrasonic transmitter 20a and an ultrasonic receiver 20b, and an ultrasonic transmitter 30a and an ultrasonic receiver 30b are arranged parallel to each other with an interval of 3 cm. Ultrasonic transmitters 20a, 30a and ultrasonic receiver 2 used in this example
0b and 30b are ultrasonic ceramic microphones EFR-OSB40K2 and Matsushita Electric, respectively.
It is EFR-RSB40K2. For example, as shown in FIG. 2, if there is an obstacle 3 behind the automobile 1, the ultrasonic waves emitted from the ultrasonic transmitter are reflected by the obstacle 3, and the reflected waves reach the ultrasonic receiver. Therefore, the distance between the detection device and the obstacle 3 can be measured by measuring the time from when the ultrasonic wave is emitted until the resulting reflected wave is received. FIG. 3 shows a block diagram of the electric circuit of the obstacle detection device mounted on the vehicle of FIG. 1. This will be explained with reference to FIG. The ultrasonic transmitters 20a and 30a are driven by drive circuits 50 and 70, respectively.
is connected to the output end of the ultrasonic receiver 20b.
A discriminating circuit 6 is provided at the output terminal of 30b and 30b, respectively.
0 and 80 are connected. Drive circuits 50 and 70 and discrimination circuits 60 and 80 are connected to microcomputer 90, respectively. Microcomputer 90 used in this example
is Intel's 8-bit single-chip microcomputer 8748. 90a is a crystal oscillator for generating clock pulses which are the basis of the operation of the microcomputer. Reference numeral 40 denotes a starting circuit, which is composed of a starting switch 41 and a waveform shaping circuit 42. The start switch 41 is of a self-reset type and has normally open contacts. The start switch 41 is arranged on the operation panel of the driver's seat. 100 is a buzzer circuit, and a buzzer 102 constituting the buzzer circuit is connected to an output port of a microcomputer 90 via a buzzer drive circuit 101. 110 is a distance display circuit that displays the distance between the vehicle body and an obstacle. The distance display circuit 110 includes a 7-segment display 111 with three digits. The display 111 is dynamically driven by a segment drive circuit 112 and a digit drive circuit 113. 120 is a warning circuit. FIG. 4 shows a specific configuration of the drive circuit 50 shown in FIG. 3. In addition, in FIG. 3, the drive circuits 50 and 7
0 have the same configuration, a description of the configuration of the drive circuit 70 will be omitted. Referring to FIG. 4, this circuit includes an inverter 53. It is equipped with a driving transistor, a step-up transformer T, etc. The input terminal of the inverter 53 is connected to the microcomputer 90.
is connected to a predetermined output port of the A pulse signal Sp that controls the activation of the ultrasonic transmitter 20a is applied to this signal line. This pulse signal
Sp is applied to the primary side of the step-up transformer T via the driving transistor. When a pulse signal is applied to the primary side of the transformer T, the secondary side is
A signal with an amplitude of about 100V is generated. This boosted 40KHz signal is applied to the ultrasonic transmitter 20a. As will be described later, the pulse signal Sp is generated by the microcomputer 90 using software. In particular, in this example, the software adjusts the number of pulses per measurement of the pulse signal Sp that energizes the ultrasonic transmitter in accordance with the set sensitivity.
In other words, when the number of pulses is small, the amplitude of the ultrasonic wave output from the ultrasonic transmitter changes greatly depending on the number of pulses of the signal Sp (Fig. 7b and 1).
(see table). Therefore, in this embodiment, the number of pulses of the signal Sp is changed depending on whether the sensitivity data is an even number or an odd number, and thereby the level of the ultrasound output from the ultrasound transmitter is adjusted in two stages. to adjust the detection sensitivity. In this example, the detection sensitivity is the signal
Adjustment is possible in eight stages by a combination of two-stage adjustment by adjusting the number of pulses of Sp and four-stage gain adjustment of the variable gain amplifier 62, which will be described later.
【表】
第5図に、第3図の判別回路60の具体的な構
成を示す。なお、判別回路60と80は同一の構
成であるので判別回路80の説明を省略する。第
5図を参照して説明する。超音波受信器20b
は、判別回路60の増幅回路61に接続されてい
る。増幅回路61は、カスケード接続された3段
の狭帯域増幅器A1,A2およびA3で構成され
ている。各増幅器A1,A2およびA3は、それ
ぞれ演算増幅器で構成した反転増幅器になつてお
り、それぞれの帰還路に、40KHzに共振させたコ
ンデンサと電気コイルでなる並列共振回路が接続
されている。
62は可変ゲイン増幅器である。この可変ゲイ
ン増幅器62は演算増幅器62a、アナログスイ
ツチ(アナログマルチプレクサ)ASおよび多数
の抵抗器で構成されている。可変ゲイン増幅器6
2を簡単に説明すると、この回路は、アナログス
イツチASの2ビツトの制御入力端C0およびC
1に印加されるマイクロコンピユータ90からの
信号に応じて選択された抵抗器が、演算増幅器6
2aに帰還抵抗として接続され、その抵抗器と入
力抵抗rinにより定まる増幅度で信号を増幅する。
つまり、この回路62の増幅度Gは、演算増幅器
62aの反転入力端と出力端の間に接続される帰
還抵抗の合成抵抗rtとすれば、次式で表わされ
る。
G=−rt/rin ……(1)
アナログスイツチASは、そのポートX0,X
1,X2およびX3のいずれか1つを制御入力端
C0およびC1に印加される2ビツトのゲイン設
定信号で選択し、そのポートと共通ポートY0を
電気的に接続する。たとえばゲイン設定信号のデ
ータが、入力端C0およびC1に対してそれぞれ
LおよびLとなる「0」である場合には、ポート
X0が選択されて、合成抵抗rtがr0となるので
ゲインGは−r0/rinとなる。同様に、ゲイン設
定信号のデータが「1」、「2」および「3」のと
きには、それぞれポートX1,X2およびX3が
選択されて合成抵抗rtはそれぞれ、r0+r1、r0+
r1+r2およびr0+r1+r2+r3になる。したがつ
て、可変ゲイン増幅器62のゲインGはゲイン設
定信号により4段階に設定しうる。この実施例に
おいては、ゲイン設定信号のデータが「0」のと
きの最小ゲインに対して、ゲイン設定信号のデー
タが「3」のときの最大ゲインを128倍程度に設
定してある。
63は、信号処理回路であり、交流のアナログ
電気信号の有無を判別して、その結果に応じた二
値信号を、マイクロコンピユータ90の所定の入
力ポートに印加する。回路各部の信号波形は、第
7a図に示すようになる。つまり、演算増幅器
OP1は普通の増幅器であり、超音波を受信する
と、OP1の出力端子には超音波波形に応じた
40KHzの周波数の電気信号V1が現われる。
演算増幅器OP2はアナログ比較器であり、信
号V1のレベルを所定のしきい値レベルと比較し
て、それらの大小に応じた二値信号V2を出力す
る。この二値信号は、演算増幅器OP2の出力端
に接続され、ダイオード、コンデンサおよび抵抵
抗器でなる整流・平滑回路で平滑される。これに
よつて得られる信号V3は、演算増幅器OP3で
なるアナログ比較器で所定のしきい値と比較さ
れ、その大小に応じた二値信号V4がOP3から
出力される。演算増幅器OP3の出力端子に接続
された回路は、信号V4のレベルをマイクロコン
ピユータ90の入力レベルに一致させるために備
わつたインターフエース回路である。
第6a図、第6b図、第6c図および第6d図
に、マイクロコンピユータ90の動作を示す。ま
ず、第6a図を参照して概略動作を説明する。電
源がオンすると、出力ポートの所定の初期レベル
(非付勢レベル)に設定し、メモリをクリアする。
入力ポートの状態をチエツクして、起動スイツチ
41がオンになるのを待つ。起動スイツチ41が
オンすると、障害物検出サブルーチンを実行す
る。このサブルーチンを実行すると、障害物が存
在する場合には、レジスタRBに測定した距離デ
ータが格納されるので、距離データがある場合に
は、そのデータを表示器110に表示する。ま
た、必要に応じてブザー102およびランプ12
1を付勢する。
次に、障害物検出サブルーチンを説明する。概
略でいうと、まず感度Gを最低にセツトし、超音
波を発射して、判別回路60又は80が「超音波
受信あり」と判別するのを待つ。「超音波受信あ
り」になると、超音波を発射してからの時間デー
タを読み取る。
超音波の発射は、第6d図に示す超音波発射サ
ブルーチンを実行することにより行なう。超音波
発射サブルーチンを説明する。レジスタRCに、
感度データGをストアする。この例では感度は8
段階に調整しうるので、感度データGは0〜7の
範囲の値をとる。レジスタRCのデータを下位ビ
ツトに向かつて1ビツトシフトする。つまり、デ
ータの値を2で割る。
これを行なうと、最下位ビツトのデーがキヤリ
ーフラグにセツトされる。感度データGが偶数な
らキヤリーフラグは“0”になるが、奇数ならキ
ヤリーフラグ“1”になる。キヤリーフラグが
“0”すなわち偶数なら、レジスタRDに数値N
(Spのパルス数)をセツトし、キヤリーフラグが
“1”すなわち奇数なら、レジスタRDに数値N
+γをセツトする。
レジスタRCのデータ(感度データの1/2)を出
力ポートにセツトして、可変ゲイン増幅器62の
アナログスイツチASに、ゲインデータをセツト
する。例えば、感度データが6なら数値3(信号
ラインC0およびC1が共に“1”)が可変ゲイ
ン増幅器62にセツトされ、増幅器62のゲイン
は最大になる。
次に、信号ライン(Sp)を高レベルHに設定
し、12.5μsecの時間待ちを行なつた後、信号ライ
ン(Sp)を低レベルLに設定し、12.5μsecの時間
待ちを行なつてレジスタRDの内容を−1し、こ
の処理をRDの内容が0になるまで繰り返す。つ
まり、周期が25μsecでデユーテイが50%のパルス
信号を、レジスタRDに格納された値に対応する
波数だけ出力する。
従つて、感度データGが奇数の場合には、それ
が偶数の場合よりも多くのパルスSpが一回の超
音波発射処理で出力される。前述のように、信号
Spのバルス数の大小に応じて超音波発信器から
出力される超音波のレベルが変化するので、感度
データGが奇数の場合には、それが偶数の場合よ
りも感度が高くなる。
この例では、可変ゲイン増幅器62の、各ステ
ツプ間のゲイン比は一定にしてあり、パルス信号
Spの数がNの場合とN+γの場合との感度比K
が、可変ゲイン増幅器62の各ステツプ間のゲイ
ン比の1/2乗になるように設定してある。。つま
り、感度データGが0の時の装置全体の感度を
Goとすると、感度データGが1、2、3、4、
5、6および7の時の装置全体の感度は、それぞ
れGo・K、Go・K2、Go・K3、Go・K4、Go・
K5、Go・K6およびGo・K7と、互いにK倍にな
る。
超音波を発射したら、まずインターバルタイマ
をセツトして、超音波を発射してからの経過時間
を計数する。
超音波を発射すると、可変ゲイン増幅器62の
出力端子には、所定のタイミングで反射によらな
い直接波等によつて比較的レベルの低いノイズ波
が現われる。また、所定の位置に物体があると、
それによつて反射する超音波によつて、物体と検
出装置との距離に応じたタイミングで反射波が現
われる。
反射波のレベルは、距離、物体の材質、形状等
に応じて大きく変化する。反射波のレベルが直接
波等のノイズ波よりも明らかに大きい場合には、
ノイズ波が現われる前に、低い感度で反射波によ
る波のレベルがしきい値レベルVth(OP2の−側
入力端子に印加される電圧)を越えるので、最初
にしきい値レベルVthを越えた波が現われた時間
から物体の距離を判別できるが、例えば第7c図
に示すように反射波のレベルがノイズ波よりも小
さい場合、ノイズ波が誤検出される可能性があ
る。
そこでこの実施例では、ノイズ波の現われるタ
イミングTKLを予め定めておき、このタイミング
になつたら、しきい値レベルVthを越える波があ
るか否かをチエツクし、越える場合には、それが
越えなくなるまで(点P1まで)待つ。またこの
実施例では、ゲイン(感度)Gが所定値Gc以上
の場合にはタイミングTKLにかえてTKH(TKLより
も僅かに大きい)を使用する。
また、ノイズ波には、複数の波の重畳により第
7d図に示すように複数の山W1,W2が現われ
ることが多い。この場合、しきい値レベルVthが
2つの山のレベルとその間の谷のレベルの間に入
ると、上記のようにタイミングTKLで現われた波
がなくなつた後で2番目のノイズ波の山W2が現
われ、これを点P2のタイミングで検出する可能
性がある。
そこでこの実施例においては、各感度ステツプ
間の感度の比率Kを、ノイズ波に生じうる最大の
山のレベルVHと最低の谷のレベルVLとの比率
(VH/VL)よりも大きく設定し、異なる感度で
複数回の時間測定を行なうことでノイズ波と反射
波とを識別している。
すなわち、第7d図に実線で示すように、ノイ
ズ波の山と谷がしきい値レベルVthをまたぐ状態
になつたとしても、感度を1段上げれば、その感
度では1点鎖線で示すようにノイズ波の谷のレベ
ルがしきい値レベルVthよりも大きくなるので、
タイミングTKLで現われたノイズ波がしきい値レ
ベルよりも低下すれば、ノイズ波の2番目以降の
山も検出されることはなくなる。従つて、これら
の結果として得られる時間データを比較すれば、
それらの大小およびその差から有効なデータは否
かを判別しうる。
また、時間データはインターバルタイマをスタ
ートしてから反射波W3(第7e図参照)のレベ
ルがしきい値レベルVthを越えるまでの時間とし
て検出されるが、第7e図に示すように、反射波
W3のレベルが異なると、反射波W3が初めて到
来するタイミングt0から、反射波のレベルがしき
い値レベルVthを越えるまでに要する立ち上がり
時間(t1−t0又はt2−t0)が異なるので、第7e
図に実線で示されるように反射波レベルがしきい
値レベルVthを僅かに越える場合に得られる時間
データと、反射波レベルがしきい値レベルよりも
十分に大きい場合に得られた時間データとでは、
測定結果が大きく異なり、これが距離の測定誤差
になる。
そこで、この実施例においては、反射波が検出
された場合でも、感度を更新して複数回の測定を
行ない、その結果が同一の物体によつて反射され
た反射波によるものであると判別した場合には、
その中で感度の高い時に得られたデータを選択
し、そのデータから距離を求める。つまり、感度
が高い時には立ち上がりに要する時間が小さくな
るので、常に感度の高い時のデータを選択するこ
とで、各時間データに含まれる立ち上がり時間相
互間の差すなわち距離測定誤差が小さくなる。
第6b図および第6c図を参照して、障害物検
出サブルーチンの具体的動作を説明するが、その
前にそのルーチンで使用する代表的なレジスタ類
の機能を説明する。
CN1……ノイズ波検出タイミング(TKL、TKH)
で波が検出された回数を計数するカウンタ
CN2……ノイズ波検出タイミング以外で波が検
出された回数を計数するカウンタ
Tg max……物体測定周期
RA……有効な時間データを保持するレジスタ
RB……距離データ(測定結果)を保持するレジ
スタ
Tw……信号に含まれるノイズ、リツプル等の影
響を避けるための待ち時間
α……同一の物体からの反射波であるか否かを判
別するための参照時間データであり、CN2の
値に応じて設定される。この値は立ち上がり時
間の最大値、すなわち反射波の最大振幅がしき
い値レベルぎりぎりの場合に初めて波が受信器
に到達してからそのレベルがしきい値レベルに
達するまでに要する時間より小さい。tnとtn-1
との差をこれで比較する。
β……直接波等ノイズ波と反射波とを識別するた
めの参照時間データ
tn……今回測定して得られた時間データ
tn-1……前回測定して得られた時間データ
Gmax……感度データの最大値(7)
CN2max……CN2の最大値
インターバルタイマをセツトした後、そのタイ
マの値がTKLに達するまで待つ。TKLに達したら、
信号処理回路63の出力レベルを参照し、超音波
の受信レベルがしきい値レベルVttを越えている
か否かチエツクする。もしVthを越えている場合
には、カウンタCN1の値を+1し、超音波受信
レベルがしきい値レベルVthより下がるまで待
つ。タイミングTKLで受信レベルがVth以下なら、
直ちに次の処理に進む。
タイマの値に待ち時間Twを加算した値をレジ
スタTmaxにセツトし、タイマの値がTmax値を
越えるまで待つ。次に、信号処理回路63の出力
レベルを参照し、超音波を受信したか否か(受信
レベルがしきい値レベルVthを越えたか否か)を
チエツクする。受信していない場合には、タイマ
の値がTg maxに達するまでの間は、このチエツ
クを繰り返す。もし超音波を受信する前にタイマ
の値がTg maxに達する、ゲインデータGを感度
を大きくする方に1段大きくして、再度、超音波
発射以降の処理を実行する。
超音波を受信したら、まずカウンタCN2の内
容をチエツクする。初回はカウンタCN2の内容
が0にクリアされているので、その時のタイマの
値をレジスタRAに格納する。超音波が検出され
たので、カウンタCN2の内容を+1する。カウ
ンタCN2の値がCN2maxより大きくなければ、
タイマの値がTg maxに達するまで待つて、ゲイ
ンGを感度が高くなる方に1段更新して、再度超
音波発射以降の処理を実行する。
ステツプS42で超音波を受信したときにカウン
タCN2の内容が1以上であると、CN2の内容に
応じてメモリテーブル値αを読み取る。なお、カ
ウンタCN2の値1、2、3……、nに対応付け
られるメモリテーブルに格納された値α1、α2、
α3……αnは、次の関係を満たすように設定して
ある。
α1>α2>α3>……>αn
つまり、反射波レベルが初めてしきい値レベル
Vthを越えた時の時間データとその次のゲインで
測定される時間データとでは比較的大きな差が生
ずる可能性があるので、カウンタCN2の値が1
の場合の参照値α1は比較的大きくし、CN2の値
が大きくなるにつれて、時間データの差が小さく
なるので参照値も小さくしている。
前回の測定(感度が現在より低い状態)で得ら
れた時間データtn-1と今回得られた時間データtn
とを比較する。
tn<tn-1で、しかもtn+α>tn-1であれば、例
えば第7e図に示す時間データt1をtn-1に、t2を
tnにそれぞれ対応付けると理解できるように、同
一の物体で反射した波を受信したことによる時間
データであると判別できる。この条件Aを満たす
場合には、今回のデータの方が立ち上がり時間が
短いので、レジスタRAの内容を今回の時間デー
タに更新する。
また、カウンタCN2の内容が2であると、次
の条件Bを満たすかどうか判定する。つまり、カ
ウンタCN2の値が2であれば、前回測定した時
間データtn-1(RAの内容)が、例えば第7d図に
実線で示す不要波W2を検出した、点P2に対応
する無効とすべき時間データである可能性があ
る。そこで、CN2の内容が2であると、
tn−β>tn-1(条件B)を満たすかどうか判定
する。もし時間データtn-1が点P2に対応するも
のであれば、今回測定した時間データtnは、点P
3に対応するので、tn-1よりも所定値以上大きい
はずである。この所定値が参照値βである。条件
Bを満たす場合には、レジスタRAの内容を今回
の時間データ(タイマ値)に更新する。
また、条件A、Bのいずれも満たさずにしかも
今回の時間データが前回よりも小さい場合には、
例えばレベルの大きな反射波を生ずる物体が比較
的遠くに存在し、それよりも近くに小さな反射波
しか生じない物体が存在する場合が考えられるの
で、その場合この実施例では、今回の時間データ
を有効と見なし、カウンタCN2をクリアし、レ
ジスタRAの内容を今回の時間データに更新して
測定を続行する。但し、カウンタCN1の値が1
の場合には、今回の時間データtnが例えば第7d
図に示す点P2に対応するデータである可能性が
あるのでこの条件を無視する。
条件A、Bおよびtn<tn-1のいずれの条件を満
たさない場合、カウンタCN2の値がその最大値
を越えた場合、およびゲインGがその最大値を越
えてしかもレジスタRAに有効なデータが存在す
る場合、レジスタRAに格納された時間データか
ら物体の距離を計算し、その結果をレジスタRB
にストアする。
前記実施例では、受信側増幅器のゲイン調整と
超音波発信側の発信レベル調整との組み合わせで
多段に感度を調整可能にしているが、超音波発信
側の発信レベル調整だけでも所定ステツプの感度
調整を行ないうる。その場合、細かい発信レベル
調整が必要になるが、上記のようなパルス数の調
整のみでは比較的感度調整の自由度が低い。その
ような場合、例えば超音波発振器、超音波発信
器、増幅器等の周波数特性を利用すると細かい感
度調整を行を行ないうる。つまり、第8a図およ
び第8b図に示すように、超音波発信器の出力レ
ベルおよび超音波発信器の感度は、その信号の周
波数に応じて大きく変化する。従つて、超音波発
信器を付勢する信号の周波数を調整すれば、送信
レベルすなわち感度を調整しうる。
これを実施するには、例えば前記実施例の超音
波発射サブルーチンを第8c図に示すように変更
すればよい。なお、第8c図に示すサブルーチン
では、前記実施例と同様に超音波発信レベルの調
整が2段階のみになつている。第8c図を参照す
ると、レジスタREに周波数に応じた値(パルス
幅データ)が格納され、この値に応じた時間が制
御パルスSpの高レベルの期間および低レベルの
期間になる。この例では、数値Nを超音波発信器
の中心周波数に一致するように設定し、数値N+
γが中心周波数から所定量偏移した周波数に一致
するように設定して、感度データが偶数の時には
超音波発射レベルが低く、奇数の時には超音波発
射レベルが高くなるようにしている。
また、前記実施例では連続するパルスの数を調
整して超音波発射レベルを調整しているが、所定
数の連続するパルスからその中央部の一部を抜い
たり、パルスの間隔、高レベル期間と低レベル期
間とのデユーテイを調整しても同様に超音波発射
レベルを調整しうる。また、これらの手段、例え
ばパルス数調整と周波数調整とを組み合わせて調
整するようにしてもよい。
[効果]
以上のとおり、本発明によれば異なる感度で複
数回の測定を行なつて、誤差が小さくなる方の測
定値から結果を得るので、距離の測定誤差が小さ
くなる。[Table] FIG. 5 shows a specific configuration of the discrimination circuit 60 shown in FIG. 3. Note that since the discrimination circuits 60 and 80 have the same configuration, a description of the discrimination circuit 80 will be omitted. This will be explained with reference to FIG. Ultrasonic receiver 20b
is connected to the amplifier circuit 61 of the discrimination circuit 60. The amplifier circuit 61 includes three stages of cascade-connected narrowband amplifiers A1, A2, and A3. Each of the amplifiers A1, A2, and A3 is an inverting amplifier composed of an operational amplifier, and a parallel resonant circuit composed of a capacitor and an electric coil resonating at 40 KHz is connected to each feedback path. 62 is a variable gain amplifier. This variable gain amplifier 62 is composed of an operational amplifier 62a, an analog switch (analog multiplexer) AS, and a large number of resistors. variable gain amplifier 6
2, this circuit connects the 2-bit control inputs C0 and C of the analog switch AS.
The resistor selected according to the signal from the microcomputer 90 applied to the operational amplifier 6
2a as a feedback resistor, and amplifies the signal with an amplification degree determined by the resistor and the input resistor rin.
That is, the amplification degree G of this circuit 62 is expressed by the following equation, assuming that the combined resistance rt of the feedback resistors connected between the inverting input terminal and the output terminal of the operational amplifier 62a is rt. G=-rt/rin...(1) Analog switch AS has its ports X0,
1, X2 and X3 is selected by a 2-bit gain setting signal applied to control input terminals C0 and C1, and the selected port and common port Y0 are electrically connected. For example, if the data of the gain setting signal is "0" which becomes L and L for input terminals C0 and C1, respectively, port X0 is selected and the combined resistance rt becomes r0, so the gain G is - It becomes r0/rin. Similarly, when the data of the gain setting signal is "1", "2" and "3", ports X1, X2 and X3 are selected respectively, and the combined resistances rt are r0+r1 and r0+
They become r1+r2 and r0+r1+r2+r3. Therefore, the gain G of the variable gain amplifier 62 can be set in four stages by the gain setting signal. In this embodiment, the maximum gain when the gain setting signal data is "3" is set to about 128 times the minimum gain when the gain setting signal data is "0". 63 is a signal processing circuit that determines the presence or absence of an AC analog electric signal and applies a binary signal according to the result to a predetermined input port of the microcomputer 90. The signal waveforms of each part of the circuit are as shown in FIG. 7a. In other words, operational amplifier
OP1 is a normal amplifier, and when it receives ultrasonic waves, the output terminal of OP1 has a signal corresponding to the ultrasonic waveform.
An electrical signal V1 with a frequency of 40KHz appears. The operational amplifier OP2 is an analog comparator, and compares the level of the signal V1 with a predetermined threshold level, and outputs a binary signal V2 according to the magnitude thereof. This binary signal is connected to the output terminal of the operational amplifier OP2, and is smoothed by a rectifier/smoothing circuit consisting of a diode, a capacitor, and a resistor. The signal V3 thus obtained is compared with a predetermined threshold value by an analog comparator consisting of an operational amplifier OP3, and a binary signal V4 corresponding to the magnitude thereof is outputted from OP3. A circuit connected to the output terminal of the operational amplifier OP3 is an interface circuit provided to match the level of the signal V4 with the input level of the microcomputer 90. The operation of the microcomputer 90 is shown in FIGS. 6a, 6b, 6c, and 6d. First, the general operation will be explained with reference to FIG. 6a. When the power is turned on, the output port is set to a predetermined initial level (non-energized level) and the memory is cleared.
Check the status of the input port and wait for the activation switch 41 to be turned on. When the start switch 41 is turned on, an obstacle detection subroutine is executed. When this subroutine is executed, if an obstacle exists, the measured distance data is stored in the register RB, so if there is distance data, that data is displayed on the display 110. In addition, the buzzer 102 and lamp 12 may be installed as necessary.
1 is energized. Next, the obstacle detection subroutine will be explained. Roughly speaking, first, the sensitivity G is set to the lowest level, ultrasonic waves are emitted, and the process waits until the discrimination circuit 60 or 80 determines that "ultrasonic waves are being received." When "ultrasonic waves are being received", the time data from when the ultrasound was emitted is read. The ultrasonic waves are emitted by executing the ultrasonic emitting subroutine shown in FIG. 6d. The ultrasonic emission subroutine will be explained. to register RC,
Store sensitivity data G. In this example the sensitivity is 8
Since it can be adjusted in stages, the sensitivity data G takes values in the range of 0 to 7. Shift the data in register RC one bit toward the lower bit. In other words, divide the data value by 2. When this is done, the least significant bit data is set to the carry flag. If the sensitivity data G is an even number, the carry flag becomes "0", but if it is an odd number, the carry flag becomes "1". If the carry flag is “0”, that is, an even number, the value N is stored in register RD.
(the number of pulses of Sp), and if the carry flag is “1”, that is, an odd number, the value N is set in the register RD.
Set +γ. Set the data of the register RC (1/2 of the sensitivity data) to the output port, and set the gain data to the analog switch AS of the variable gain amplifier 62. For example, if the sensitivity data is 6, a value of 3 (both signal lines C0 and C1 are "1") is set in the variable gain amplifier 62, and the gain of the amplifier 62 is maximized. Next, set the signal line (Sp) to high level H, wait for 12.5 μsec, set the signal line (Sp) to low level L, wait for 12.5 μsec, and register The contents of RD are decremented by 1 and this process is repeated until the contents of RD become 0. In other words, a pulse signal with a period of 25 μsec and a duty of 50% is output for the number of waves corresponding to the value stored in the register RD. Therefore, when the sensitivity data G is an odd number, more pulses Sp are output in one ultrasonic emission process than when it is an even number. As mentioned above, the signal
Since the level of the ultrasonic wave output from the ultrasonic transmitter changes depending on the number of pulses of Sp, when the sensitivity data G is an odd number, the sensitivity is higher than when it is an even number. In this example, the gain ratio between each step of the variable gain amplifier 62 is kept constant, and the pulse signal
Sensitivity ratio K between when the number of Sp is N and when the number of Sp is N+γ
is set to be the 1/2 power of the gain ratio between each step of the variable gain amplifier 62. . In other words, the sensitivity of the entire device when the sensitivity data G is 0 is
If Go, the sensitivity data G is 1, 2, 3, 4,
The sensitivity of the entire device at 5, 6 and 7 is Go・K, Go・K 2 , Go・K 3 , Go・K 4 , Go・K, respectively.
K 5 , Go·K 6 and Go·K 7 are K times each other. After emitting ultrasonic waves, first set an interval timer to count the time that has elapsed since the ultrasonic waves were emitted. When an ultrasonic wave is emitted, a relatively low-level noise wave appears at a predetermined timing at the output terminal of the variable gain amplifier 62 due to a direct wave or the like that is not caused by reflection. Also, if there is an object in a certain position,
Due to the ultrasonic waves reflected thereby, reflected waves appear at a timing corresponding to the distance between the object and the detection device. The level of reflected waves varies greatly depending on the distance, material, shape, etc. of the object. If the level of the reflected wave is clearly higher than the noise wave such as the direct wave,
Before the noise wave appears, the level of the reflected wave with low sensitivity exceeds the threshold level Vth (voltage applied to the negative input terminal of OP2), so the wave that exceeds the threshold level Vth first Although the distance of the object can be determined from the time it appears, for example, if the level of the reflected wave is lower than the noise wave as shown in FIG. 7c, there is a possibility that the noise wave will be erroneously detected. Therefore, in this embodiment, the timing T KL at which a noise wave appears is determined in advance, and when this timing comes, a check is made to see if there is a wave that exceeds the threshold level Vth. Wait until it runs out (to point P1). Furthermore, in this embodiment, when the gain (sensitivity) G is greater than or equal to the predetermined value Gc, timing T KH (slightly larger than T KL ) is used instead of timing T KL . Moreover, in the noise wave, a plurality of peaks W1 and W2 often appear as shown in FIG. 7d due to the superposition of a plurality of waves. In this case, if the threshold level Vth falls between the two peak levels and the valley level between them, the peak of the second noise wave will appear after the wave that appeared at timing T KL disappears as described above. There is a possibility that W2 will appear and be detected at the timing of point P2. Therefore, in this embodiment, the sensitivity ratio K between each sensitivity step is set to be larger than the ratio (VH/VL) between the maximum peak level VH and the lowest valley level VL that can occur in a noise wave. Noise waves and reflected waves are distinguished by performing time measurements multiple times with different sensitivities. In other words, even if the peaks and troughs of the noise wave cross the threshold level Vth, as shown by the solid line in Figure 7d, if the sensitivity is increased by one level, the sensitivity will be as shown by the dashed line. Since the level of the trough of the noise wave becomes larger than the threshold level Vth,
If the noise wave appearing at timing T KL falls below the threshold level, the second and subsequent peaks of the noise wave will no longer be detected. Therefore, if we compare these resulting time data, we get
It can be determined whether the data is valid or not based on their magnitude and the difference between them. In addition, time data is detected as the time from when the interval timer is started until the level of the reflected wave W3 (see Figure 7e) exceeds the threshold level Vth. If the level of W3 is different, the rise time (t1-t0 or t2-t0) required from the timing t0 when the reflected wave W3 first arrives until the level of the reflected wave exceeds the threshold level Vth will be different.
As shown by the solid line in the figure, time data obtained when the reflected wave level slightly exceeds the threshold level Vth, and time data obtained when the reflected wave level is sufficiently larger than the threshold level. So,
The measurement results will vary greatly, and this will result in a distance measurement error. Therefore, in this embodiment, even if a reflected wave is detected, the sensitivity is updated and measurements are performed multiple times, and the results are determined to be due to reflected waves reflected by the same object. in case of,
Among them, the data obtained when the sensitivity is high is selected and the distance is calculated from that data. In other words, when the sensitivity is high, the time required for rise is short, so by always selecting data when the sensitivity is high, the difference between the rise times included in each time data, that is, the distance measurement error, becomes small. The specific operation of the obstacle detection subroutine will be described with reference to FIGS. 6b and 6c, but before that, the functions of typical registers used in the routine will be explained. CN1……Noise wave detection timing (T KL , T KH )
Counter CN2 that counts the number of times a wave is detected at a time...Counter Tg max that counts the number of times a wave is detected at times other than the noise wave detection timing...Object measurement period RA...Register RB that holds valid time data... ...Register Tw that holds distance data (measurement results) ...Waiting time α to avoid the effects of noise, ripples, etc. included in the signal ...To determine whether the waves are reflected from the same object or not This is reference time data and is set according to the value of CN2. This value is smaller than the maximum value of the rise time, ie, the time required from when the wave first reaches the receiver until its level reaches the threshold level when the maximum amplitude of the reflected wave is just around the threshold level. tn and tn -1
Compare the difference with this. β...Reference time data for distinguishing between noise waves such as direct waves and reflected waves tn...Time data obtained from the current measurement tn -1 ...Time data obtained from the previous measurement Gmax...Sensitivity Maximum value of data (7) CN2max...Maximum value of CN2 After setting the interval timer, wait until the timer value reaches T KL . Once you reach T KL ,
Referring to the output level of the signal processing circuit 63, it is checked whether the received level of the ultrasonic wave exceeds the threshold level Vtt. If it exceeds Vth, the value of counter CN1 is incremented by 1 and the ultrasonic reception level waits until it falls below the threshold level Vth. If the reception level is below Vth at timing T KL ,
Proceed immediately to the next process. Set the value obtained by adding the wait time Tw to the timer value in the register Tmax, and wait until the timer value exceeds the Tmax value. Next, referring to the output level of the signal processing circuit 63, it is checked whether ultrasonic waves have been received (whether or not the reception level exceeds the threshold level Vth). If not received, this check is repeated until the timer value reaches Tg max. If the timer value reaches Tg max before ultrasonic waves are received, the gain data G is increased by one step to increase the sensitivity, and the processing after ultrasonic emission is executed again. When ultrasonic waves are received, first check the contents of counter CN2. Since the contents of the counter CN2 are cleared to 0 for the first time, the value of the timer at that time is stored in the register RA. Since ultrasonic waves have been detected, the contents of counter CN2 are incremented by 1. If the value of counter CN2 is not greater than CN2max,
Wait until the timer value reaches Tg max, update the gain G by one step to increase the sensitivity, and execute the process after ultrasonic emission again. If the contents of counter CN2 are 1 or more when ultrasonic waves are received in step S42, the memory table value α is read according to the contents of CN2. Note that the values α1, α2, α2, stored in the memory table associated with the values 1, 2, 3..., n of the counter CN2
α3...αn are set to satisfy the following relationship. α1>α2>α3>……>αn In other words, the reflected wave level is at the threshold level for the first time.
There is a possibility that there will be a relatively large difference between the time data when Vth is exceeded and the time data measured at the next gain, so the value of counter CN2 is 1.
In the case of , the reference value α1 is set relatively large, and as the value of CN2 becomes larger, the difference in time data becomes smaller, so the reference value is also set smaller. Time data tn -1 obtained in the previous measurement (with lower sensitivity than the current one) and time data tn obtained this time
Compare with. If tn<tn -1 and tn+α>tn -1 , for example, change the time data t1 shown in Figure 7e to tn -1 and t2 to
As can be understood by associating them with tn, it can be determined that the time data is the result of receiving waves reflected by the same object. If this condition A is satisfied, the current data has a shorter rise time, so the contents of the register RA are updated to the current time data. Further, if the content of the counter CN2 is 2, it is determined whether the following condition B is satisfied. In other words, if the value of counter CN2 is 2, the previously measured time data tn -1 (contents of RA) is invalid, which corresponds to point P2 where, for example, unnecessary wave W2 was detected as shown by the solid line in Fig. 7d. There is a possibility that it is the actual time data. Therefore, if the content of CN2 is 2, it is determined whether tn-β>tn -1 (condition B) is satisfied. If time data tn -1 corresponds to point P2, the time data tn measured this time corresponds to point P
3, it should be larger than tn -1 by a predetermined value or more. This predetermined value is the reference value β. If condition B is satisfied, the contents of register RA are updated to the current time data (timer value). Also, if neither conditions A nor B are satisfied and the current time data is smaller than the previous time,
For example, there may be a case where an object that generates a large level of reflected waves exists relatively far away, and an object that only generates small reflected waves exists closer to it.In this case, in this example, the current time data is It is regarded as valid, clears counter CN2, updates the contents of register RA to the current time data, and continues measurement. However, if the value of counter CN1 is 1
In this case, the current time data tn is, for example, the 7th d.
Since there is a possibility that the data corresponds to point P2 shown in the figure, this condition is ignored. If any of conditions A, B and tn < tn -1 are not satisfied, if the value of counter CN2 exceeds its maximum value, or if gain G exceeds its maximum value and there is no valid data in register RA. If it exists, calculate the distance of the object from the time data stored in register RA and send the result to register RB.
Store in. In the embodiment described above, the sensitivity can be adjusted in multiple steps by combining the gain adjustment of the receiving side amplifier and the transmission level adjustment of the ultrasound transmitting side, but the sensitivity can be adjusted in a predetermined step by just adjusting the transmission level of the ultrasound transmitting side. can be carried out. In that case, fine transmission level adjustment is required, but only adjusting the number of pulses as described above provides a relatively low degree of freedom in sensitivity adjustment. In such a case, for example, fine sensitivity adjustment can be performed by utilizing the frequency characteristics of an ultrasonic oscillator, an ultrasonic transmitter, an amplifier, etc. That is, as shown in FIGS. 8a and 8b, the output level of the ultrasonic transmitter and the sensitivity of the ultrasonic transmitter vary greatly depending on the frequency of the signal. Therefore, by adjusting the frequency of the signal that energizes the ultrasonic transmitter, the transmission level, or sensitivity, can be adjusted. To implement this, for example, the ultrasonic emission subroutine of the above embodiment may be modified as shown in FIG. 8c. Note that in the subroutine shown in FIG. 8c, the ultrasonic transmission level is adjusted in only two stages, similar to the embodiment described above. Referring to FIG. 8c, a value (pulse width data) corresponding to the frequency is stored in the register RE, and the time corresponding to this value becomes the high level period and the low level period of the control pulse Sp. In this example, the number N is set to match the center frequency of the ultrasonic transmitter, and the number N+
γ is set to match a frequency shifted by a predetermined amount from the center frequency, so that when the sensitivity data is an even number, the ultrasonic emission level is low, and when the sensitivity data is an odd number, the ultrasonic emission level is high. In addition, in the above embodiment, the ultrasonic emission level is adjusted by adjusting the number of consecutive pulses, but it is also possible to remove a part of the central part from a predetermined number of consecutive pulses, change the interval between pulses, and change the high-level period. The ultrasonic emission level can be similarly adjusted by adjusting the duty between the low level period and the low level period. Further, the adjustment may be made by combining these means, for example, pulse number adjustment and frequency adjustment. [Effects] As described above, according to the present invention, measurements are performed a plurality of times with different sensitivities, and the result is obtained from the measurement value with the smaller error, thereby reducing the distance measurement error.
第1図は、実施例の物体検出装置を搭載した自
動車を後方から見た斜視図である。第2図は、第
1図に示す自動車の後部を示す平面図である。第
3図は、物体検出装置の概略構成を示すブロツク
図である。第4図は、第3図に示す駆動回路50
の構成を示す電気回路図である。第5図は、第3
図に示す判別回路60の構成を示す電気回路図で
ある。第6a図、第6b図、第6c図および第6
d図は、第3図に示すマイクロコンピユータ90
の概略動作を示すフローチヤートである。第7a
図は第5図に示す電気回路の各部の信号波形を示
す波形図、第7b図は付勢パルスSpのパルス数
と反射波レベルとの相関を示す波形図、第7c
図、第7d図および第7e図は、超音波の受信レ
ベルの変化例を示すタイミングチヤートである。
第8a図および第8b図は、それぞれ超音波発信
器および超音波発信器の周波数特性例を示すグラ
フ、第8c図はもう1つの実施例における超音波
発射サブルーチンのフローチヤートである。
1:自動車、2:後部バンパ、3:障害物、2
0a,30a:超音波発信器(超音波発生手段)、
20b,30b:超音波受信器(超音波受信手
段)、40:起動回路、50,70:駆動回路、
60,80:判別回路、61:狭帯域増幅器(増
幅手段)、62:可変ゲイン増幅器、63:信号
処理回路、90:マイクロコンピユータ(電子制
御手段)、111:表示器。
FIG. 1 is a perspective view of an automobile equipped with an object detection device according to an embodiment, viewed from the rear. 2 is a plan view showing the rear part of the automobile shown in FIG. 1. FIG. FIG. 3 is a block diagram showing a schematic configuration of the object detection device. FIG. 4 shows the drive circuit 50 shown in FIG.
FIG. Figure 5 shows the third
FIG. 2 is an electrical circuit diagram showing the configuration of a discrimination circuit 60 shown in the figure. Figures 6a, 6b, 6c and 6
Figure d shows the microcomputer 90 shown in Figure 3.
1 is a flowchart showing a schematic operation of the Chapter 7a
The figure is a waveform diagram showing the signal waveform of each part of the electric circuit shown in Figure 5, Figure 7b is a waveform diagram showing the correlation between the number of pulses of the energizing pulse Sp and the reflected wave level, and Figure 7c is a waveform diagram showing the correlation between the number of pulses of the energizing pulse Sp and the reflected wave level.
7d and 7e are timing charts showing examples of changes in the reception level of ultrasonic waves.
8a and 8b are graphs showing an example of the frequency characteristics of an ultrasonic transmitter and an ultrasonic transmitter, respectively, and FIG. 8c is a flowchart of an ultrasonic emission subroutine in another embodiment. 1: Car, 2: Rear bumper, 3: Obstacle, 2
0a, 30a: Ultrasonic transmitter (ultrasonic generating means),
20b, 30b: Ultrasonic receiver (ultrasonic receiving means), 40: Starting circuit, 50, 70: Drive circuit,
60, 80: Discrimination circuit, 61: Narrowband amplifier (amplification means), 62: Variable gain amplifier, 63: Signal processing circuit, 90: Microcomputer (electronic control means), 111: Display.
Claims (1)
受信手段; 前記超音波受信手段からの信号を増幅する増幅
手段;および 前記付勢手段に印加する信号の振幅、付勢手段
に印加する信号の周波数、付勢手段に印加する信
号の波数、付勢手段に印加するパルス信号のデユ
ーテイ、付勢手段に印加するパルス信号の間隔、
前記増幅手段の増幅度、および超音波の受信の有
無を判別するレベル、の少なくとも1つを調整す
る感度調整手段を備え、物体検出指示があると、
超音波発生手段を付勢し、感度を更新しながら超
音波の受信の有無を判別し、複数の感度でそれぞ
れ超音波の発射から受信までの時間データを測定
し、同一の物体からの反射波によつて得られた複
数の時間データが存在する場合には、それらの中
で感度の高い方の時間データを選択し、その選択
した時間データから距離を求める、電子制御手
段; を備える反射型物体検出装置。 2 電子制御手段は、複数の感度で得られた時間
データが存在する場合に、それらの差が所定値以
内でしかも感度が高いときに得られた時間データ
が感度が低いときに得られた時間データよりも小
さい場合に、同一の物体からの反射波により得ら
れた時間データであると判別する、前記特許請求
の範囲第1項記載の反射型物体検出装置。 3 電子制御手段は、物体検出指示があると最低
感度から測定を開始して徐々に感度を高く設定す
るとともに、前記所定値を、反射波を検出した回
数に応じて設定する、前記特許請求の範囲第2項
記載の反射型物体検出装置。[Scope of Claims] 1. Ultrasonic wave generating means for generating ultrasonic waves; Urging means for urging the ultrasonic wave generating means; Ultrasonic receiving means disposed near the ultrasonic wave generating means; Said ultrasonic receiving means Amplifying means for amplifying the signal from the means; and amplitude of the signal applied to the urging means, frequency of the signal applied to the urging means, wave number of the signal applied to the urging means, and pulse signal applied to the urging means. the duty, the interval of the pulse signal applied to the biasing means,
comprising a sensitivity adjustment means for adjusting at least one of the amplification degree of the amplification means and a level for determining whether or not ultrasonic waves are received, and when an object detection instruction is given;
The ultrasonic generation means is energized, the sensitivity is updated to determine whether or not ultrasonic waves are received, and the time data from ultrasonic emission to reception is measured at multiple sensitivities, and the reflected waves from the same object are detected. When there is a plurality of time data obtained by Object detection device. 2. When there is time data obtained at multiple sensitivities, the electronic control means may be configured such that the difference between them is within a predetermined value and the time data obtained when the sensitivity is high is the time data obtained when the sensitivity is low. The reflection type object detection device according to claim 1, which determines that the time data is obtained by a reflected wave from the same object if the data is smaller than the time data. 3. The electronic control means starts measurement from the lowest sensitivity upon receiving an object detection instruction, and gradually sets the sensitivity higher, and sets the predetermined value according to the number of times the reflected wave is detected. A reflective object detection device according to scope 2.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59060337A JPS60203878A (en) | 1984-03-28 | 1984-03-28 | Reflection type substance detector |
| SE8500681A SE461060B (en) | 1984-03-28 | 1985-02-14 | REFLECTION TYPE OBJECT DETECTION DEVICE |
| FR8504680A FR2562265B1 (en) | 1984-03-28 | 1985-03-28 | REFLECTION TYPE OBJECT DETECTOR |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59060337A JPS60203878A (en) | 1984-03-28 | 1984-03-28 | Reflection type substance detector |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60203878A JPS60203878A (en) | 1985-10-15 |
| JPH0157314B2 true JPH0157314B2 (en) | 1989-12-05 |
Family
ID=13139246
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59060337A Granted JPS60203878A (en) | 1984-03-28 | 1984-03-28 | Reflection type substance detector |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60203878A (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS54151469A (en) * | 1978-04-28 | 1979-11-28 | Nec Corp | Automatic reverberation removing circuit |
| JPS5710474A (en) * | 1980-06-23 | 1982-01-20 | Diesel Kiki Co Ltd | Distance measuring equipment |
| JPS58200181A (en) * | 1982-05-18 | 1983-11-21 | Aisin Seiki Co Ltd | Detecting apparatus for obstacle for vehicle |
-
1984
- 1984-03-28 JP JP59060337A patent/JPS60203878A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60203878A (en) | 1985-10-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4658385A (en) | Obstacle detection system | |
| US6445285B1 (en) | Method and apparatus for detecting objects | |
| US5631875A (en) | Device for measuring distance with ultrasound | |
| US4542489A (en) | Object detecting system of reflection type | |
| US6243323B1 (en) | System and method for eliminating audible noise for ultrasonic transducer | |
| WO1989002086A1 (en) | Sonic distance-measuring device | |
| JPH0157314B2 (en) | ||
| JP3221821B2 (en) | Obstacle monitoring device for vehicles | |
| JPH0157313B2 (en) | ||
| JPH0157315B2 (en) | ||
| JP3145592B2 (en) | Obstacle detection device for vehicles | |
| JP2658361B2 (en) | Ultrasonic distance measuring device | |
| KR890004974Y1 (en) | Anti-close view sight protecting device for tv | |
| JPH0349078B2 (en) | ||
| US5067115A (en) | Ultrasonic obstacle sensor | |
| JP3521892B2 (en) | Obstacle detection device | |
| JPH07159531A (en) | Obstacle detecting device of vehicle | |
| JP2660544B2 (en) | Ultrasonic distance sensor | |
| US4719604A (en) | Reflective object detector with compensated receiver signal | |
| JPH0113549B2 (en) | ||
| JPH0130436B2 (en) | ||
| JP2789191B2 (en) | Ultrasonic distance sensor | |
| JPH09178836A (en) | Ultrasonic switch | |
| JPS6217738Y2 (en) | ||
| JP2548600B2 (en) | Ultrasonic handset |